Skip to content

Coroutine Context in Custom Transition for 2.0 #1196

Answered by colinrtwhite
tyczj asked this question in Q&A
Discussion options

You must be logged in to vote

I'd recommend using a listener in 2.0 to generate the palette. Check out this snippit for how to do that. Transitions are no longer suspend functions in 2.x as it's not necessary to suspend until the transition is complete; this was required in 1.x for bitmap pooling.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tyczj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants