Answers for "getresources in adapter android"

0

getresources in adapter android

private Context context; 
//in the Constructor, pass the context in the parametres
public TabAdapter(FragmentManager fm, Context context) {
   super(fm);
   this.context = context;
}

//and you can use it by:
context.getResources().
Posted by: Guest on December-04-2021

Code answers related to "getresources in adapter android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language