Y
Y
ywitodenasuby2021-04-11 14:12:04
Android
ywitodenasuby, 2021-04-11 14:12:04

MVVM and long query, how is it done?

There is a fragment and in it I receive data through retrofit, which are calculated from 1s to 30s, and at this time the orientation can change and start all over again. How is it done correctly when the result is expected for a long time?
I thought via IntentSrvice or so https://proandroiddev.com/rxjava-2-android-how-to-...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Vasilenko, 2021-04-15
@gigacoder

https://developer.android.com/jetpack/guide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question