滚动时隐藏图像

时间:2015-12-07 17:30:13

标签: android android-fragments

对于片段,我创建了一个要访问的自定义类,但现在我想使用eclipse隐藏图像而不是工具栏。

public Fragment getItem(int position) {
    switch (position) {
    case 0:
        fragmentManager = getActivity().getSupportFragmentManager();
    case 1:
        fragmentManager = getActivity().getSupportFragmentManager();
    case 2:
        fragmentManager = getActivity().getSupportFragmentManager();
        break;
    }

    SamplFragment defaultFragment = SamplFragment.newInstance(position, offerListData);
    return defaultFragment;
}

0 个答案:

没有答案