remove unneeded code
This commit is contained in:
parent
d145ef907f
commit
a83ff12ca8
1 changed files with 0 additions and 2 deletions
|
@ -18,7 +18,6 @@ import info.nightscout.androidaps.interfaces.PluginBase;
|
||||||
*/
|
*/
|
||||||
public class TabPageAdapter extends FragmentStatePagerAdapter {
|
public class TabPageAdapter extends FragmentStatePagerAdapter {
|
||||||
|
|
||||||
ArrayList<PluginBase> fragmentList = new ArrayList<>();
|
|
||||||
ArrayList<PluginBase> visibleFragmentList = new ArrayList<>();
|
ArrayList<PluginBase> visibleFragmentList = new ArrayList<>();
|
||||||
|
|
||||||
FragmentManager fm;
|
FragmentManager fm;
|
||||||
|
@ -62,7 +61,6 @@ public class TabPageAdapter extends FragmentStatePagerAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerNewFragment(PluginBase plugin) {
|
public void registerNewFragment(PluginBase plugin) {
|
||||||
fragmentList.add(plugin);
|
|
||||||
if (plugin.isVisibleInTabs(plugin.getType())) {
|
if (plugin.isVisibleInTabs(plugin.getType())) {
|
||||||
visibleFragmentList.add(plugin);
|
visibleFragmentList.add(plugin);
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
|
|
Loading…
Reference in a new issue