¡@

Home 

2014/10/16 ¤W¤È 08:13:32

android Programming Glossary: filesystementry

ContentProvider insert() always runs on UI thread?

http://stackoverflow.com/questions/11604914/contentprovider-insert-always-runs-on-ui-thread

@Override public void onFolderContentsResponse final List FilesystemEntry contents do something with contents All still good. Even if.. onFolderContentsResponse is called and passed the list of FilesystemEntry's that was received from the server. I only really say all this.. @Override public void onFolderContentsResponse final List FilesystemEntry contents insertContentsIntoDB contents And the insertContentsIntoDB..

ContentProvider insert() always runs on UI thread?

http://stackoverflow.com/questions/11604914/contentprovider-insert-always-runs-on-ui-thread

folderId new OnFolderContentsResponseListener @Override public void onFolderContentsResponse final List FilesystemEntry contents do something with contents All still good. Even if the server takes an hour to retrieve the data the UI still runs.. the UI . At the very end of the getFolderContents method the onFolderContentsResponse is called and passed the list of FilesystemEntry's that was received from the server. I only really say all this so that it's hopefully clear that my problem is not in the.. folderId new OnFolderContentsResponseListener @Override public void onFolderContentsResponse final List FilesystemEntry contents insertContentsIntoDB contents And the insertContentsIntoDB method void insertContentsIntoDB final List FilesystemEntry..