我刚刚学习图书馆viewpagerindicator ...我想问,如何在活动中获得Title Tab ViewPagerIndicator?这是我的片段活动
public static Fragment newInstance(Context _context) {
// TODO Auto-generated method stub
ContentActivity activitynya = new ContentActivity();
return activitynya;
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ViewGroup root = (ViewGroup)inflater.inflate(R.layout.tulisan_list, null);
Intent in = getActivity().getIntent();
String Name_of_Tab = what ? ;
}
和代码String Name_of_Tab = 什么?,如何获取标签指示器的名称?
谢谢大家,对不起我的英语..