Closed panovvitalik closed 2 years ago
Possibly problem is in ExpandableDrawerItem or SecondaryDrawerItem classes.
When the menu contains only PrimaryDrawerItem items no such many error messages. In this case there is only one message - when menu appears
Yes it could be that for expandable items this condition is not reached: https://github.com/mikepenz/FastAdapter/blob/develop/fastadapter/src/main/java/com/mikepenz/fastadapter/listeners/OnBindViewHolderListenerImpl.kt#L24
It looks you are using the library still via Java.
Please note that only the latest version retrieves updates: https://github.com/mikepenz/MaterialDrawer#latest-releases- (v8.4.3) which is targeted for Kotlin.
Testing this with this version does not lead to this problem. Please consider to update the library
It looks you are using the library still via Java.
Please note that only the latest version retrieves updates: https://github.com/mikepenz/MaterialDrawer#latest-releases- (v8.4.3) which is targeted for Kotlin.
Testing this with this version does not lead to this problem. Please consider to update the library
Yes. But I can't use kotlin lib due to this bug:
When the app starts in menu appear there is a message in log: E/FastAdapter: The bindView method of this item should set the
Tag
on its itemView (https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/items/AbstractItem.java#L189)When I scroll menu - more and more of such messages appear - they fill up log file
Possibly problem is in ExpandableDrawerItem or SecondaryDrawerItem classes. When the menu contains only PrimaryDrawerItem items no such error messages Code to reproduce the issue:
drawerBuilder.withSelectedItem(-1); // to hide selection of any menu item Drawer mMenu = drawerBuilder.build();