In my app i have a large number , around 70000 records to load in a tablevie开发者_高级运维w. It takes a lot of time to load like ten minutes. Since it blocks the main UIthread, I am unable to go back
Is only the UI-thread able to display to the screen, or can oth开发者_如何学JAVAer threads do this as well?No you can only access to UI directly from the UI thread but you can marshal the results from
I have a game which has ads in it.I eventually found the source of lag is basically because of the adRequest process which takes a long time.
I\'m having trouble tying off my program (ending it up). I have a SurfaceView in an Activity, and in that SurfaceView when you lose three lives the game is supposed to end. I have tried opening up a n
I have a class which extends the Runnable. This class performs some heavy operation (basically downloads the image from network) in different thread. I want to update the UI (display the downloaded im
hi all since i am using a button and on the click of that button it connects to a Web Service. But the problem is that when i press the button it does not showed me that it has been clicked and goes
I have a probably simple question. I have an android service; where in I have created a generic service class which requests locks and executes actual (extending) service code in a separate thread. Ex
I\'m creating a map using the google api lib. Because the mapwidget takes a long time to load I\'m trying to add a loading notification, but it isn\'t shown. I can show the progressDialog in regular t
Basically, I am trying to run a seconds counter and a levels counter. For every 10 seconds I want to ++level.
I have a grid control that is trying to display large amounts of data and so it takes a long time to render on the UI thread.