How to pass a value from a runnable thread once it has finished in Android Studio?
I am using a thread to get an id from my database. Once the thread has finished running I need to use that id in another thread to get a list of items. Once that thread has finished I use…