Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 602 Bytes

accountheader_single_profile_without_dropdown.md

File metadata and controls

17 lines (13 loc) · 602 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