https://github.com/mikepenz/MaterialDrawer#add-profiles-and-an-accountheader
This will be triggered when a new profile is selected
.withOnAccountHeaderListener(new AccountHeader.OnAccountHeaderListener() {
@Override
public boolean onProfileChanged(View view, IProfile profile, boolean currentProfile) {
return false;
}
})
But I meant how to find out, that user clicked on user image in navigation header. Not in list of profiles.
Sorry, it is working... my fault!
no problem ;)
Sorry, it is working... my fault!
How did you get it work please?
Most helpful comment
https://github.com/mikepenz/MaterialDrawer#add-profiles-and-an-accountheader
This will be triggered when a new profile is selected