Skip to content

Conversation

@SpiritualAdviser
Copy link

I transferred the network request from retrofit.Call to the RX chain.
Implemented the generateCatFact function.
Implemented the generateCatFactPeriodically function.
Implemented the Get Facts function. I'm not sure if it was necessary to create a separate data stream to request to the network every 2 minutes, but I didn't use coroutines for this and left the RX approach.
This is the first time I've worked with RX, so maybe I haven't done everything very optimized. I tested the application with the Internet turned on and off, and it looks like it works as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant