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
Post a Comment