Domanda

I am dynamically creating a StackView object in my Android project. How can I accomplish the following equivalent properties dynamically through code?

android:animateLayoutChanges="true"
android:loopViews="true"

Altri suggerimenti

For animateLayoutChanges you can refer this.

And for the loopViews i am not getting any method but you can refer this.

Hope you got the Point. You can easilt search on developer site of Android for any other methods/function and its properties.

There is no way to change loopViews, but you can try to pass it through constructor using styles.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top