mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +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…
Reference in New Issue
Block a user