Hello guys :slightly_smiling_face: I hope someone ...
# android
Hello guys 🙂 I hope someone can give me a hint .. I’m working on a simple weather app .. Once I get data from the API I want to store it using Realm and call a method to fetch data from the database. But the problem is that the method for fetching from db is called before the data are saved into Realm, so I get this : E/LandingViewModel: onError with java.util.NoSuchElementException List is empty.
stackoverflow 3