Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 586 Bytes

accountheader_single_profile_without_dropdown.md

File metadata and controls

17 lines (13 loc) · 586 Bytes

#How can i use the AccountHeader with just one profile and disable the dropdown?

This can be simply achieved by adding .withSelectionListEnabledForSingleProfile(false) to the Builder of the AccountHeader. This will then disable the dropdown and hide the arrow from the header.

##Sample code

.withSelectionListEnabledForSingleProfile(false)

##Links mikepenz#615 mikepenz#454 mikepenz#443 mikepenz#350