Created
November 20, 2019 17:28
-
-
Save elihart/8e67b1ef0e43bbf31853934b10bbc202 to your computer and use it in GitHub Desktop.
MvRx Mock State Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val mockDadJokeState = DadJokeState( | |
jokes = Success( | |
value = JokesResponse( | |
nextPage = 3, | |
results = listOf( | |
Joke( | |
id = "0LuXvkq4Muc", | |
joke = "I'm tired of following my dreams. I'm just going to ask them where they are going and meet up with them later." | |
), | |
Joke( | |
id = "0ga2EdN7prc", | |
joke = "Did you hear about the guy whose whole left side was cut off? He's all right now." | |
), | |
Joke( | |
id = "0oO71TSv4Ed", | |
joke = "Why didn't the skeleton cross the road? Because he had no guts." | |
) | |
) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment