App crashes when accessing multiple textviews from navigation header
问题 recently i tried an app with navigation view with header . the header contains 2 textview, a name and email . When i tried to setText the textview dynamically through code,it throws null pointerexception. Can anyone please help me to resolve this problem. Navigation_view <android.support.design.widget.NavigationView android:id="@+id/nav_view" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" android:fitsSystemWindows="true" app