Initially I had api calls in an adapter class which is in Java, I moved the api calls from adapter to a presenter(Kotlin file).
Adapter(java file) requests to do an api c