I want to avoid loading of fragment on tab selection.
I have tablayout, I am on TAB1, but I want to navigate to TAB2 only if some specific condition got true else keep me on TAB1.
I want to avoid loading of fragment on tab selection.
I have tablayout, I am on TAB1, but I want to navigate to TAB2 only if some specific condition got true else keep me on TAB1.