滑动到底部或顶部响应的ScrollView实现
关于使用可见:滚动到底部或顶部响应的ScrollView使用Demo APK 可以方便的查看效果,在各大应用商店搜索 trinea android 下载即可,如:Google Play。两种实现方式的主要不同点在于判
2021-12-07 14:02
87 
ListView和Adapter数据适配器的简单介绍
ListView  显示大量相同格式数据  常用属性:    listSelector listView每项在选中、按下等不同状态时的Drawable    divider ListView每
2021-12-07 14:02
83 
关于 Activity 中 must implement OnFragmentInteraction
在使用Android Studio 使用默认创建Fragment时,在Activity中 must implement OnFragmentInteractionListener 错误如下:Caused by: ja
2021-12-07 14:02
103 
Unable to start activity ComponentInfo{com.example
本来就是把fragment写死在activity的xml模板里面,结果报了这个错误, Unable to start activity ComponentInfo{com.example.administrator.
2021-12-07 14:02
98 
adb.exe,start-server' failed -- run manually if ne
解决问题:百度google大家多说的是任务管理器 kill掉adb 或者重启adb server,但我任务管理器就没有adb ,猜测是某个程序占用了adb端口。于是按此思路查找。5037为adb默认端口 查看该端口情
2021-12-07 14:03
112 
SimpleAdapter notifyDataSetChanged
找到解决方案 必须先从列表视图的数组列表中删除该项,然后才能通知数据集已更改。data.remove(position);adapter.notifyDataSetChanged();
2021-12-07 14:04
103 
ERROR: must implement OnFragmentInteractionListene
两个片段中的OnFragmentInteractionListener接口都包含具有相同签名的方法,而MainActivity正在实现一种方法来尝试覆盖这两个接口。更改一个或两个方法的签名,然后在MainActivi
2021-12-07 14:04
93 
Unable to start activity ComponentInfo 解决方法
解决案例一:publicvoidonCreate(BundlesavedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.lay
2021-12-07 14:04
108 
T:0.010288s,M:386.16 KB
返回顶部 留言