-
用的是 attachment.view 添加的自定义 UIImageView
会有视图重复添加的 bug ,可以帮助我解决吗
![8efc278776e0aea83540efc028e670ec](https://user-images.githubusercontent.com/12134966/48925874-b840e080-ef03-11e8-97aa-381a059222…
-
本来想看源码学习的,看着好多代码,累了,就想着自己弄,
看了看效果,感觉就是线性的,唯一的区别就是第一个item有个变化而已。
代码如下,继承LinearLayoutManager重写如下的方法即可,基本可以达到效果,好像有人想要横向的,逻辑也差不多。
` var oldChild0:View?=null;
override fun scrollVerticallyBy(dy:…
-
```
AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.andy.kot, PID: 22098
java.lang.NullPointerException
at com.alibaba.android.vlayout.DelegateAdapter.findAdapterByIndex(DelegateAdapt…
-
Hi, I use jacoco and ScopedArtifacts.Scope.ALL to do some transform work in my project.
The gradle tool version is 8.0
My project structure is as follows:
app
module a
module b
app includes modu…
-
-
### Description
I wrote a test for checking that drag and drop to reorder the items with `ItemTouchHelper` works correcly in my `RecyclerView`. It runs correcly both on the emulator and on a real dev…
-
就是要限制 FlexboxLayout的行数为4行,多出来的数据就不在显示。我现在用获取FlexboxLayout的高度和子控件的高度来判断,是否添加到FlexboxLayout。但是,FlexboxLayout的getMeasuredHeight 一直是109。没有变化。有没有人好的想法呢?
-
@jancborchardt, @stefan-niedermann and me did a comparison how other do tablets and we came to the conclusion that we are pretty close.
Missing on tablet:
- [x] re-add values-land to detect tablet m…
-
The replacement for startActivityForResult is registerForActivityResult which uses a different interface. As a new app developer (from old school programming) it is not clear how to implement the newe…
-
```
java.lang.IllegalStateException: Could not find span for position 89
at org.lucasr.twowayview.widget.StaggeredGridLayoutManager.getLaneSpanForPosition(StaggeredGridLayoutManager.java:1…