Skip to content

Instantly share code, notes, and snippets.

@abbas-oveissi
Last active June 13, 2019 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abbas-oveissi/25f0922846386f13a831e7f39fd573cf to your computer and use it in GitHub Desktop.
Save abbas-oveissi/25f0922846386f13a831e7f39fd573cf to your computer and use it in GitHub Desktop.
//rxjava-challenge
class City(val id: Int, val name:String)
class Province(val id: Int ,val name:String)
fun getProvinces(): Observable<List<Province>>
fun getCityByProvinceId(val provinceId: Int): Observable<List<City>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment