QXH313
QXH313
1.Use in Android is not in kotlin 2. View view = View.inflate(context, R.layout.content, null); return DialogPlus.newDialog(context) .setContentHolder(new ViewHolder(view)) .setGravity(Gravity.TOP) .setContentWidth(ViewGroup.LayoutParams.MATCH_PARENT) .setContentHeight(ViewGroup.LayoutParams.WRAP_CONTENT) .setContentBackgroundResource(R.color.transparent) .setOverlayBackgroundResource(R.color.transparent) .setCancelable(true) .setExpanded(false) .create(); 3. java.lang.NullPointerException: Attempt to...
@AllenCoder
StaggeredGridLayoutManager layoutManager = (StaggeredGridLayoutManager) listView.getLayoutManager(); // layoutManager.scrollToPosition(position); layoutManager.scrollToPositionWithOffset(position, 0); 这样自定定位之后布局出现错乱,有人遇到吗,求解决谢谢 @hongyangAndroid @
### PlaceholderImageScaleType doesn't work - When I use the attribute of the roundedcorner, placeholderImageScaleType not normal work, like I set, on the system version for Android P's phone - Fresco...
indicatorViewPager.setPagePrepareNumber() 方法失效,没有这个方法呀,怎么禁止预加载呢,谢谢 @LuckyJayce
当ViewPager 中对应的是View类型,怎么获取每个View呀?求解谢谢 @LuckyJayce
1、轮播出现,ANR 操作:对于一个bannerComponent,根据数据不同反复复设置不同的Adapter对象 比如:bannerComponent.setAdapter(new Adapte(list)) 结果:第二次调用bannerComponent.setAdapter(new Adapte(list))出现ANR 2、轮播indicatorView切换错误 操作:bannerComponent.setCurrentItem(n,false) 当n大于数据源个数的时候 结果:indicatorView始终默认最后一个小圆点被选中 3、RecyclerIndicatorView和BannerComponent一起用Crash 日志如下: 01-24 10:56:36.263 32627-32627/com.ckditu.map E/AndroidRuntime: FATAL EXCEPTION: main Process: com.ckditu.map, PID: 32627 java.lang.StackOverflowError: stack size 8MB at android.support.v7.widget.ChildHelper.getChildCount(ChildHelper.java:253) at...