Is it possible for a fragment located in the viewpager to make an update call on all other fragments located in the viewpager
Closed due to the fact that the question is too general for the participants VenZell , aleksandr barakin , D-side , Vartlok , user194374 Mar 30 '16 at 16:00 .
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
- Yes, it can be done - Chaynik
- Can you explain the algorithm - Contact
- One of the options is to add an interface to the fragments and then call them. - Chaynik
- Or maybe through the broadcast mechanism? - Contact
- oneThe reaction and the consequences depends only on your ultimate goal. Your question is too abstract, there are many implementation options for it. And it (implementation) depends only on your needs. - Chaynik
|