-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to assign different fragments to each tab #5
Comments
public class HomeColorTabActivity extends AppCompatActivity {
|
those who are looking for the same ,, i have included switch case in adapter @OverRide
|
Hi ,,,
override fun getItem(position: Int): Fragment = ListItemsFragment.newInstance()
Instead of using same ListItemFragment to all tabs,,,how to use different fragments to each one?
The text was updated successfully, but these errors were encountered: