mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Check if setup tab is visible
This commit is contained in:
@@ -112,6 +112,10 @@ public class FragmentOptions extends FragmentBase {
|
||||
getActivity().getIntent().removeExtra("tab");
|
||||
}
|
||||
|
||||
boolean isVisible(int position) {
|
||||
return (pager.getCurrentItem() == position);
|
||||
}
|
||||
|
||||
private class PagerAdapter extends FragmentStatePagerAdapter {
|
||||
public PagerAdapter(FragmentManager fm) {
|
||||
super(fm);
|
||||
|
||||
Reference in New Issue
Block a user