python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to do API call in for loop in android?
How we can perform same API call in for loop of array list of object :
private var emergencyContacts: ArrayList<Contact> = ArrayList()
emergencyContacts.forEach
{
contactsViewMo...
vyas dipak
Votes: 0
Answers: 2
Null pointer exception when running viewmodel test using liveData and rxJava Single
I want to cover ViewModel with unit tests. But getting NullPointerException when running them.
ViewModel implementation is as follows:
interactors and Schedulers are injected through the constructor
...
Temur Isroilov
Votes: 0
Answers: 1
Kotlin error when fetching API with RxJava
So I'm new to kotlin, and I'm trying to fetch API with RxJava by following this tutorial https://www.youtube.com/watch?v=VObSnk5jrpc&list=PLRRNzqzbPLd906bPH-xFz9Oy2IcjqVWCH&index=6
But I got a...
aufa
Votes: 0
Answers: 1
RxJava how to accept at most 5 items for any subscription
In RxJAVA we can replay old entries to new subscribers. I would like to know if there is a mechanism that I can replay parametric number of entries to subscribers.
Subscriber<String> fir...
Hilmi Yamcı
Votes: 0
Answers: 1