Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(position == 0)
- {
- InventoryAdaptor pa = new InventoryAdaptor(context.getApplicationContext(), R.layout.catrecord, items);
- ListView mainView = new ListView(context);
- mainView.setAdapter(pa);
- pa.notifyDataSetChanged();
- ((ViewPager)pager).addView( mainView, 0 );
- return mainView;
- }
Add Comment
Please, Sign In to add comment