Android reload Navigation Drawer fragment -


there login option in navigation drawer. when logged in want show logout. navigation drawer items have drawable left them. there can reload/refresh/reinitialize navigation drawer once login has been done?

you can define layout navigation area this:

<android.support.v4.widget.drawerlayout> <relativelayout>    ....     <listview        ...         android:id="@+id/navigation_list"/>     </listview> </relativelayout>  </android.support.v4.widget.drawerlayout> 

from within code can work adapterand fill content of list wish, update works notifydatasetchanged. each entry of list can define specific layout (with or without buttons, etc.)


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -