0

I have a Fragment that is created through a FragmentStateAdapter. The Fragment creates a view on Android Studio. I was wondering if there is a way to updates contents of the view that is generated dynamically? Say I receive some data from a server and want to add a new TextView to that view.

Couldn't find a solution :(

  • Is there a way? Yes. I would suggets adding code examples of where you get your data and code where you inflate the fragment. – TheLibrarian Nov 04 '22 at 13:09

0 Answers0