I am not able to insert a FragmentActivity to swiper tab:
@Override
public Fragment getItem(int position) {
switch (position) {case 0:
return new HomeActivity();
case 1:
return new ListaBancada();
}
return null;
}
The class is HomeActivity inherits from Fragment , the FragmentActivity List and the ListBank gives error in the above code, why? How do I call an Activity there?