sqlite - How to achieve the following in Realm for android -


In my applications, I usually have a loader that loads from SQL data and then send it to activity or volume It is attached, from where it is set in the AbelistView adapter, which presents it to the user

Since the actual says how to get it from the UI thread without calling any DB can go? (Which feels the apple because I beat DB in a good amount)

In addition to 3, - & amp; , DB is operated many times in the UI thread. Is not there a heavy consumption of database in IE thread in Android?

Quoted with docs -

You are right, currently it is not possible To load items on the background thread and then parse it on the UI thread. It's on the roadmap, though, here:

The area is very fast, however, by then, you can not leave the frame for the small amount of data even if you load the data on the UI thread We do.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -