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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -