android - postInvalidate() is working slow? -


I am using LinearLayout applied to paint the polygon on it.

A draw cycle has ended in about 535 millimeters (milliseconds).

Thread to call myLinearLayout.postInvalidate () from non-UI, using the following code:

  myActivity.runOnUiThread (new Runnabel () {public void run () {MyLinearLayout.postInvalidate ();}});  

It has been used to invalidate the view from non-UI threads. You do not need to call again with runOnUiThread .


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -