Android xml scene + programatically way

16 Views Asked by At

How to combine the Android xml scene with programatically way?

Combine both to reuse the content from xml but create different variants.

example:

val variant = getVariant()
val example_1 = TransitionInflater.from(this).inflateTransition(R.transition.example_1, variant)
0

There are 0 best solutions below