-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multireddit dropdown list in drawer #3066
base: master
Are you sure you want to change the base?
Multireddit dropdown list in drawer #3066
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Particular thanks for being brave enough to touch MainActivity
app/src/main/java/me/ccrama/redditslide/Activities/MainActivity.java
Outdated
Show resolved
Hide resolved
app/src/main/java/me/ccrama/redditslide/Activities/MainActivity.java
Outdated
Show resolved
Hide resolved
app/src/main/java/me/ccrama/redditslide/Activities/MainActivity.java
Outdated
Show resolved
Hide resolved
9ffac05
to
b99f08a
Compare
headerMain = header; | ||
hea = header.findViewById(R.id.back); | ||
|
||
drawerSubList.addHeaderView(header, null, false); | ||
((TextView) header.findViewById(R.id.name)).setText(Authentication.name); | ||
header.findViewById(R.id.multi).setOnClickListener(new OnSingleClickListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this removed it's not possible to open the regular MultiredditOverview
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A final appearance thing, but you might also want to hide the dropdown if the user doesn't have any multireddits, since it still toggles but nothing appears underneath
No description provided.