mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2025-04-03 07:50:48 +00:00
タブタイトル更新メソッド作成
This commit is contained in:
parent
e85c8a7ed0
commit
d691ee0126
@ -184,6 +184,13 @@ public class ViewerContainerFragment extends Fragment {
|
|||||||
builder.show();
|
builder.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void updateTabTitle(int position, String title) {
|
||||||
|
ArrayList<String> fragmentTitleList = viewerViewPagerAdapter.getFragmentTitleList();
|
||||||
|
fragmentTitleList.set(position, title);
|
||||||
|
viewerViewPagerAdapter.setFragmentTitleList(fragmentTitleList);
|
||||||
|
viewerViewPagerAdapter.notifyItemChanged(position);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Toolbarをinitする
|
* Toolbarをinitする
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user