alexvasilkov / GestureViews

ImageView and FrameLayout with gestures control and position animation
Apache License 2.0
2.37k stars 384 forks source link

Sometimes getViewHolder is empty #142

Closed tcqq closed 4 years ago

tcqq commented 5 years ago

@alexvasilkov If delete the arrow code, an exception occurs when you click on the item and open the image. image

Because sometimes getViewHolder is empty, so should change the value of getViewHolder to @Nullable. image

alexvasilkov commented 4 years ago

Didn't get the problem here. Just don't remove the mentioned code and use nullable type in Kotlin.