上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 阅读全文
posted @ 2022-02-03 20:39 KongLong_cm 阅读(39) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-02-02 11:12 KongLong_cm 阅读(35) 评论(0) 推荐(0)
摘要: 从AActivity向BActivity跳转后,关闭BActivity并向AActivity回调一些数据: 建立AActivity.java文件: 1 public class AActivity extends AppCompatActivity { 2 private Button btnJum 阅读全文
posted @ 2022-02-02 11:10 KongLong_cm 阅读(120) 评论(0) 推荐(0)
摘要: 从AActivity.java向BActivity.java传递数据: 建立AActivity.java文件建立bundle: 1 public class AActivity extends AppCompatActivity { 2 private Button btnJump; 3 @Over 阅读全文
posted @ 2022-02-02 10:35 KongLong_cm 阅读(109) 评论(0) 推荐(0)
摘要: 1 public class AActivity extends AppCompatActivity { 2 private Button btnJump; 3 @Override 4 protected void onCreate(Bundle savedInstanceState) { 5 su 阅读全文
posted @ 2022-02-02 10:14 KongLong_cm 阅读(156) 评论(0) 推荐(0)
摘要: 1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.example.first"> 3 4 <uses-permission android:name="android.permi 阅读全文
posted @ 2022-02-01 22:56 KongLong_cm 阅读(70) 评论(0) 推荐(0)
摘要: ToastActivity.java文件: 1 public class ToastActivity extends AppCompatActivity { 2 private Button mbtnToast1,mbtnToast2,mbtnToast3; 3 @Override 4 protec 阅读全文
posted @ 2022-02-01 22:17 KongLong_cm 阅读(135) 评论(0) 推荐(0)
摘要: 首先是创建WebViewActivity.java文件: 1 public class WebViewActivity extends AppCompatActivity { 2 private WebView WVmain; 3 @Override 4 protected void onCreat 阅读全文
posted @ 2022-01-30 22:48 KongLong_cm 阅读(244) 评论(0) 推荐(0)
摘要: 在原来的基础上将LinearAdapter.java进行修改: 1 public class LinearAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>{ 2 private Context mcontext; 3 priv 阅读全文
posted @ 2022-01-30 20:11 KongLong_cm 阅读(151) 评论(0) 推荐(0)
摘要: 首先建立一个 PbRecyclerViewActivity.java文件: 1 public class PbRecyclerViewActivity extends AppCompatActivity { 2 private RecyclerView RVpb; 3 @Override 4 pro 阅读全文
posted @ 2022-01-30 18:42 KongLong_cm 阅读(753) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页