Android execute code after delay

Android execute code after delay

In this sample code the myFuction() will call after 10 second

 

don't use Thread.sleep(10000);  because it will block your UI

  Like
Author: bm on July 20, 2016
Category: Android
Tags: , ,

One thought on “Android execute code after delay

Your comment:

Your Name

Comment:




Last articles