Remove unused code in TabsAdapter
This commit is contained in:
parent
d9c2ea6fb6
commit
6e5468daa1
@ -76,8 +76,6 @@ public class TabsAdapter extends PagerAdapter
|
|||||||
|
|
||||||
public void addTab(TabHost.TabSpec tabSpec, View view) {
|
public void addTab(TabHost.TabSpec tabSpec, View view) {
|
||||||
tabSpec.setContent(new DummyTabFactory(mContext));
|
tabSpec.setContent(new DummyTabFactory(mContext));
|
||||||
String tag = tabSpec.getTag();
|
|
||||||
|
|
||||||
mTabs.add(view);
|
mTabs.add(view);
|
||||||
mTabHost.addTab(tabSpec);
|
mTabHost.addTab(tabSpec);
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user