Sunday 15 October 2017

Navigation Drawer header on click Edit Profile






NavigationView navigationView = (NavigationView) findViewById(R.id.id_nav_std_view);
navigationView.setNavigationItemSelectedListener(this);
View headerview=navigationView.getHeaderView(0);
        txtview_edit =(TextView)headerview.findViewById(R.id.id_txt_edit_std_profile);

txtview_edit.setOnClickListener(new View.OnClickListener() {
    @Override    public void onClick(View v) {
        Intent intent = new Intent(StudentNavigation.this,EditStudentProfileActivity.class);
        startActivity(intent);
    }
});

2 comments:

AutoComplete Address (Updated)

-------------------------------------Activity---------------------------------- package placeautocomplete.iteritory.com; import androi...