Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: what replaced android.support.v4.app.NavUtils in later APIs?

I'm programming an app for tablets, API level 13 or higher. Therefore I do not need the support library, i.e. android.support.v4.app.Fragment has been replaced by android.app.Fragment and similar.

In the support library there was a neat class android.support.v4.app.NavUtils, but I cannot find any equivalent class in the higher APIs. So what replaced it or its methods? How can I use its methods without importing the support library? Is it possible?

like image 854
Terry Avatar asked Oct 11 '13 12:10

Terry


1 Answers

Android version above & including Jelly Beans have the NavUtils incorporated into the Activity class. So, there is no separate framework lib for that.

like image 78
techvineet Avatar answered Oct 11 '22 11:10

techvineet