如何做到在adapter中监听实现跳转

来源:互联网 发布:圣火明尊进阶数据 编辑:程序博客网 时间:2024/05/19 06:17

第一,自定义中context得传入

Intent语句这样写


Intent intent = new Intent(context,EncryptedActivity.class);

跳转这样写
context.startActivity(intent);  

0 0
原创粉丝点击