上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 74 下一页
摘要: public static void actionStart(Context context,String data1,String data2){ Intent intent = new Intent(c... 阅读全文
posted @ 2017-04-16 21:46 Philtell 阅读(98) 评论(0) 推荐(0)
摘要: public static void actionStart(Context context,String data1,String data2){ Intent intent = new Intent(c... 阅读全文
posted @ 2017-04-16 21:46 Philtell 阅读(90) 评论(0) 推荐(0)
摘要: 需要一个专门的集合类对对所有的活动进行管理就行了package com.example.deligence.activitytest;import android.app.Activity;import java... 阅读全文
posted @ 2017-04-16 20:12 Philtell 阅读(93) 评论(0) 推荐(0)
摘要: 需要一个专门的集合类对对所有的活动进行管理就行了package com.example.deligence.activitytest;import android.app.Activity;import java... 阅读全文
posted @ 2017-04-16 20:12 Philtell 阅读(132) 评论(0) 推荐(0)
摘要: 启动模式一共有四种,分别是standard singleTop singleTask和 singleInstance,可以在AndroidManifest.xml 中通过标签指定android:launchMod... 阅读全文
posted @ 2017-04-16 18:23 Philtell 阅读(93) 评论(0) 推荐(0)
摘要: 启动模式一共有四种,分别是standard singleTop singleTask和 singleInstance,可以在AndroidManifest.xml 中通过标签指定android:launchMod... 阅读全文
posted @ 2017-04-16 18:23 Philtell 阅读(95) 评论(0) 推荐(0)
摘要: Activity类中定义了7个回调方法,覆盖了活动声明周期的每一个环节,下面就来一一介绍这7个方法1.onCreate(). 他会在活动被创建的时候调用,加载布局,绑定事件.2.onStart(),这个方法在活动... 阅读全文
posted @ 2017-04-15 21:51 Philtell 阅读(86) 评论(0) 推荐(0)
摘要: Activity类中定义了7个回调方法,覆盖了活动声明周期的每一个环节,下面就来一一介绍这7个方法1.onCreate(). 他会在活动被创建的时候调用,加载布局,绑定事件.2.onStart(),这个方法在活动... 阅读全文
posted @ 2017-04-15 21:51 Philtell 阅读(155) 评论(0) 推荐(0)
摘要: 通过返回键往上个活动里传值@Overridepublic void onBackPressed() { Intent intent = new Intent(); intent.putExtra("d... 阅读全文
posted @ 2017-04-15 21:15 Philtell 阅读(99) 评论(0) 推荐(0)
摘要: 通过返回键往上个活动里传值@Overridepublic void onBackPressed() { Intent intent = new Intent(); intent.putExtra("d... 阅读全文
posted @ 2017-04-15 21:15 Philtell 阅读(95) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 74 下一页