- 博客(4)
- 收藏
- 关注
原创 androidx下的RecyclerView下标越界 IndexOutOfBounds@Override public void onLayoutChildren(RecyclerView
最近线上在展示recyclerview界面的时候出现下标越界的问题java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 6(offset:6). at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3300) at android.sup
2022-03-28 20:34:48 3375
原创 android 在自己app中通过包名打开别的应用时跳转浏览器
在Android中我们想要在自己的app里面打开别的应用的包名我们只需要调用如下方法context.startActivity( context.packageManager.getLaunchIntentForPackage(packageName!!))但是有的时候我们发现包名没有问题也不为空,但是却无法打开指定的应用,反而跳转到了浏览器里面。解决方案关闭开发者模式...
2021-11-11 16:51:37 2690
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人