Update Android Sherlock Tabs

I use Sherlock tabs to implement tabs. Everything works fine, but I want to do one more thing, and here is the script for this:

Suppose a fragment is loaded on a separate tab. Inside this fragment, when the button is pressed, I will have to load another fragment, but I want the tabs to remain.

How do I achieve this feature? Which method can help here?

+4
source share
1 answer

I had the same problem. I used Handler and Messenger to send data between tabs and updating the user interface that solved my problem.

0
source

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


All Articles