Speed up F-Droid startup
This has been implemented using ContentProviders to lazily load the list of apps in the main views. ContentProviders are also used for all other database access too.
The app is taking longer and longer to initialize
Load app lists via CursorLoader
I've (pserwylo) started work on this, and it seems to work well for the first list (i.e. all apps, or apps in a certain category). It also works with the other views, but the sql ends up being a little strange:
SELECT ... FROM fdroid_app WHERE appid IN ( [list of all installed apps, which can get quite long] )
but it seems to work nicely. I wonder if this type of query will become an issue if you have > 250 or 500 apps installed.