This is navigation drawer 2017 tutorial and you’ll learn how to use getApplicationContext() and getContext() in Fragment in Android. Assume that you know how to create a navigation drawer from Android Studio 2.3 template. So in this video, I will teach you first how to create a new Fragment in Android. Then how to call the Fragment in Navigation Drawer menu. Lastly, you will learn about getApplicationContext() that is used with Toast and AlertDialog.

Comments

comments


Warning: A non-numeric value encountered in /home/top12rev/public_html/kosalgeek.com/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 352