About drawer item can't be selectable and articles item must be selected when recreating feeds items list
This commit is contained in:
parent
c0ba878d6c
commit
e1a52d7b27
@ -120,6 +120,8 @@ public class DrawerManager {
|
|||||||
for (SecondaryDrawerItem primaryDrawerItem : feedsWithoutFolder) {
|
for (SecondaryDrawerItem primaryDrawerItem : feedsWithoutFolder) {
|
||||||
drawer.addItem(primaryDrawerItem);
|
drawer.addItem(primaryDrawerItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drawer.setSelection(ARTICLES_ITEM_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createAccountHeader(List<Account> accounts) {
|
private void createAccountHeader(List<Account> accounts) {
|
||||||
@ -207,7 +209,7 @@ public class DrawerManager {
|
|||||||
PrimaryDrawerItem aboutItem = new PrimaryDrawerItem()
|
PrimaryDrawerItem aboutItem = new PrimaryDrawerItem()
|
||||||
.withName(R.string.about)
|
.withName(R.string.about)
|
||||||
.withIcon(R.drawable.ic_about_grey)
|
.withIcon(R.drawable.ic_about_grey)
|
||||||
.withSelectable(true)
|
.withSelectable(false)
|
||||||
.withIdentifier(ABOUT_ID);
|
.withIdentifier(ABOUT_ID);
|
||||||
|
|
||||||
drawer.addStickyFooterItem(aboutItem);
|
drawer.addStickyFooterItem(aboutItem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user