Is it possible to add a View to a Fragment dynamically? If it is, how can i do that?
Is it possible to add a View to a Fragment dynamically?
Yes.
If it is, how can i do that?
The same way you would add a View
anywhere else: call addView()
on the View
's parent container.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With