android - Animators may only be run on Looper threads error on ObjectAnimator -


i having problem with

{     animatorset animset = new animatorset();     animset.start(); } 

getting crash after animset.start

getting msg android.util.androidruntimeexception: animators may run on looper threads...

please me overcome issue..

try adding

new handler().postdelayed(new runnable() {             @override             public void run() {                 runonuithread(new runnable() {                     @override                     public void run() {                         animset.start();                     }                 });             }         }, 100); 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -