Hi, I am doing the android SDK tutorial and I have gone through all steps for creating the Task Tracker app
When I create a user and login successfully, I cannot see anything in the list of projects just an empty screen
I pinpointed the problem in the following two lines in the ProjectActivity.kt in private function setUpRecyclerView(realm: Realm)
val syncedUsers : RealmResults<User> = realm.where<User>().sort("_id").findAll()
val syncedUser : User? = syncedUsers.getOrNull(0) // since there might be no user objects in the results, default to "null"
the query results return an empty list, so it cannot find any user in my user realm, therefore the recyclerView cannot be populated. I also downloaded the final branch of the task tracker app in case I did a mistake with the tutorial, as suggested and the same issue occurs. Any ideas?
Thank you in advance.