android-app icon indicating copy to clipboard operation
android-app copied to clipboard

[WIP] Async lists loading

Open di72nn opened this issue 8 years ago • 6 comments

My second take on async loading in Android.

di72nn avatar Aug 19 '17 19:08 di72nn

@di72nn Why is this important? I tested this PR in Android 7.0 and I don't notice any difference. @Strubbl why is the development so slow? Can I help in any way?

ngosang avatar Mar 03 '18 15:03 ngosang

async loading is interesting to include more features to the list view of the articles, e.g. adding reading time and tags to every entry.

regarding slow development: For me it is a hobby. My daily job is not Android development. I am satisfied with the current state of the app.

Strubbl avatar Mar 06 '18 19:03 Strubbl

@ngosang It is important because currently the app does a lot of work (e. g. DB querying) on the main thread. The difference should be noticeable on slow devices, and you can probably profile UI performance with some of the dev tools to see that the app is in trouble. Adding new features (like tags) to the lists make the situation worth.

I'm not satisfied with the current state of the app and would like to improve it, but almost any issue requires diving into Android development peculiarities. Unfortunately, I'm not very interested in Android development and my free time is scarce now.

di72nn avatar Mar 08 '18 12:03 di72nn

@Strubbl What about #671 ? It's necessary to update the @di72nn API wrapper.

ngosang avatar Mar 10 '18 19:03 ngosang

is this one relpaced by #874 ?

Strubbl avatar Nov 19 '19 21:11 Strubbl

Unfortunately not. #874 makes loading lighter while still doing it in the UI thread, and this one is an attempt to move loading to a background thread.

di72nn avatar Nov 20 '19 07:11 di72nn