nikospamp
01/22/2019, 9:48 PMMutableLiveData<LiveDataRetrofitWrapper> reminders = mRepository.getImportantRemindersByTimestamp(token, timestamp);
And the getImportantRemindersByTimestamp returns this:
val data = MutableLiveData<LiveDataRetrofitWrapper<*>>()
return data
I can understand the error, but I have no idea how to fix it. Thanks!Pavlo Liapota
01/22/2019, 10:42 PMreminders
to be the same as type returned by a function, i.e MutableLiveData<LiveDataRetrofitWrapper<*>>
Pavlo Liapota
01/22/2019, 10:44 PMreminders
variable declared in Java and method is in Kotlin?nikospamp
01/22/2019, 11:48 PMTom Adam
01/23/2019, 7:42 AMnikospamp
01/23/2019, 5:32 PM