android-thread Questions
2
Solved
Is background threading managed automatically with PagingData as it is with PagedList, and then returned on the main thread?
From the logs below, it appears PagingData is not run on the backgroud t...
Odoric asked 21/9, 2020 at 2:0
7
Solved
I have a need to transform one type of data, returned by a LiveData object, into another form on a background thread to prevent UI lag.
In my specific case, I have:
MyDBRow objects (POJOs consis...
Haun asked 19/11, 2017 at 7:22
12
I have a variable in my code say it is "status".
I want to display some text in the application depending on this variable value. This has to be done with a specific time delay.
It's like,
Che...
Circosta asked 5/6, 2011 at 10:13
2
Solved
If the operations inside CoroutineScope(job+Dispatchers.Main){...} run on the main thread then how come it does not violate Android's requirement that slow (blocking) operations (Networking etc.) a...
Mills asked 18/2, 2020 at 3:56
0
I don't know exactly what change I did on the code that made my app SUPER SLOW, now it takes about two minutes to start but before it would take less than 30 seconds.
I'm getting hundreds of messa...
Rothko asked 22/7, 2018 at 21:45
1
I am trying to create a completable and run it on background thread but it's not calling Action's run() when I am subscribing on Schedulers.io()
Basically I want to do following through RxAndroid:...
Fisken asked 20/11, 2017 at 8:17
0
I have a simple Android application that renders data with our OpenGL rendering SDK to an Android GLSurfaceView. Since we provide and SDK for others to use we need to support all use cases for the ...
Dander asked 25/10, 2017 at 10:44
4
Solved
I'm wondering when should I use handler.post(runnable); and when should I use
new Thread(runnable).start();
It is mentioned in developers documentation for Handler:
Causes the Runnable r to be...
Quadruplet asked 28/2, 2013 at 13:0
1
© 2022 - 2024 — McMap. All rights reserved.