FlowRiddles alternatives and similar libraries
Based on the "Coroutines" category
Do you think we are missing an alternative of FlowRiddles or a related project?
Repository for learning Kotlin Flow API, inspired by RxRiddles
Each riddle is a class with an unit test that will verify your solution. There are multiple ways to create function that will make test pass, nevertheless riddles are constructed to be solved with single operator or extension.
All contributions are welcome!
If you want to add new riddle to repository, please follow this guidelines:
Come up with simple riddle that will test ones knowledge of Kotlin Flow API. Make riddle small and concise - e.x test knowledge of applying one specific operator or some kind of flow creation mechanism. Write one or more unit test for that riddle. Please follow patterns used in existing riddle unit tests.
Submitting new FlowRiddle to repository:
objectRiddle0 in package
solvemethod - with
objectRiddle0Solution in package
tech.michalik.flowriddles.solutionswith actual implementation
- create test in file Riddle0Test in
Submit PR with this changes. After review, Riddle will have proper order number assigned to it.