Android Tabs & Intents

I have an autocomplete text box in which the user makes a choice. From here, I want to load a tabbed layout based on user choice. The problem is that I cannot determine which way to pass this selection for each tab. At the moment, I can pass the intent of the “tabhost” activity, and then go to each child action explicitly, however it just looks like dirty iterative code to me! So basically, how can I easily and efficiently transfer my target data to tabbed actions? Psuedo code is also very welcome;)

Greetings guys

+3
source share
2 answers
+1

SharedPreference, . , , , .

0

Source: https://habr.com/ru/post/1759793/


All Articles