N
N
Neonoviiwolf2019-08-20 01:03:08
Android
Neonoviiwolf, 2019-08-20 01:03:08

Replace multiple multiple fragments in one container?

Good
, there is a container with several dynamically added fragments. Upon request, I need some of them to replace, when replace is called, the contents of the entire container are replaced, but is it possible to somehow update only the ones I need (if you delete and re-create the fragments, it is and works, this option is interesting)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2019-08-20
@zagayevskiy

No, you can't do that, fragments don't have such api.

E
Evgeny Vasilenko, 2019-08-20
@Lucky_spirit

To make in one transaction 4 remove and only then commit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question