Since both bottom tabs affect the current items in the listview, the tentative idea is to have two Spinners in this activity, one for each bottom tab, and to show and when a bottom tab is clicked, hide the opposite spinner.
This way, we know which tab is currently clicked by which Spinner was changed, when we sort the current items in the ListView.
Since both bottom tabs affect the current items in the listview, the tentative idea is to have two Spinners in this activity, one for each bottom tab, and to show and when a bottom tab is clicked, hide the opposite spinner.
This way, we know which tab is currently clicked by which Spinner was changed, when we sort the current items in the ListView.