You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Drawers work very well, but I had a problem while refreshing the layout. They contain a Listview which is rendered only the first time when the Activity is created. When the Listview is refreshed, it does not reflect on the Drawer ( it becomes empty).
I have tried calling postInvalidate() and requestLayout() on the Drawers but it did not help.
Any pointers would be greatly appreciated!
Thanks for this library.
The text was updated successfully, but these errors were encountered:
I found that the ListView in the drawers refresh only if the drawer is opened. Which kind of solves my problem. I open the drawer, refresh the listviews and close it.
There is an option in the drawers which control the visibility of the content of a closed drawer. It can either be INVISIBLE or GONE. Try using INVISIBLE, which is NOT the default. I imagine if a view is GONE android will not include it in the layout refresh..
I don't remember the exact attribute but you can set it in the XML layout on each drawer I believe.
The Drawers work very well, but I had a problem while refreshing the layout. They contain a Listview which is rendered only the first time when the Activity is created. When the Listview is refreshed, it does not reflect on the Drawer ( it becomes empty).
I have tried calling postInvalidate() and requestLayout() on the Drawers but it did not help.
Any pointers would be greatly appreciated!
Thanks for this library.
The text was updated successfully, but these errors were encountered: