📌  相关文章
📜  适配器 android 中的 getresources - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:43.211000             🧑  作者: Mango

代码示例1
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().