// Create the AccountHeader
AccountHeader headerResult = new AccountHeaderBuilder()
.withActivity(this)
.addProfiles(
new ProfileDrawerItem().withName(uname).withEmail(email).withIcon(getResources().getDrawable(R.drawable.person1))
)
.withOnAccountHeaderListener(new AccountHeader.OnAccountHeaderListener() {
@Override
public boolean onProfileChanged(View view, IProfile profile, boolean currentProfile) {
return false;
}
})
.build();
so here i want to update name and email filed. those data will fetch from firebase and want to update in name, email fields