I have used viewstack to display different pages.
When ever i move to next page in the viewstack. i want some
random effect to play.
when viewstack changes, I want each time hideEffect and
showEffect should take different values
for example page can have effects WipeUp, WipeDown, WipeRight
these effects randomly i want to show.
so what i did is , i stored the id value's of all those
effects ( WipeUP, WipeDown ......) in an Array.
whenever viewstack changes i am taking a randow value from
this array and assing to an object which is binded to showEffect
and hideEffect of canvas component. but this is not working.
only initial value of the object only it is taking every
will anyone please tellme how to do this., I hope you
understood what i really want.