Xamarin.Android中实现延迟跳转

大鹏一日同风起,扶摇直上九万里。这篇文章主要讲述Xamarin.Android中实现延迟跳转相关的知识,希望能为你提供帮助。
http://blog.csdn.net/candlewu/article/details/52953228
【Xamarin.Android中实现延迟跳转】 
方法一: 使用Handler().PostDelayed 延迟启动 new Handler().PostDelayed( ()=> { Intent localIntent = new Intent(this, typeof(LoginActivity)); StartActivity(localIntent); } , 2000); //2000是延迟的时间,2000毫秒,2秒,下面类似 方法二: 1、 继承TimerTask public class newTimer :TimerTask {   private Activity oldActivity; private delegate void startActivity(Intent intent); public Intent intent; public newTimer(Activity _oldActivity) { oldActivity = _oldActivity; } public override void Run() { intent = new Intent(oldActivity, typeof(LoginActivity)); oldActivity.StartActivity(intent); } } 2、 启动 Timer timer = new Timer(); timer.Schedule(new newTimer(this),3000);

    推荐阅读