FriendCircle icon indicating copy to clipboard operation
FriendCircle copied to clipboard

CircleBaseViewHolder NullPointerException

Open OsBelief opened this issue 5 years ago • 0 comments

当MomentsInfo的content为null时,会创建EmptyMomentsVH,此时会发生NullPointerException; Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void razerdp.github.com.ui.widget.common.ClickShowMoreLayout.setOnStateKeyGenerateListener(razerdp.github.com.ui.widget.common.ClickShowMoreLayout$OnStateKeyGenerateListener)' on a null object reference at razerdp.friendcircle.ui.viewholder.CircleBaseViewHolder.(CircleBaseViewHolder.java:78) at razerdp.friendcircle.ui.viewholder.EmptyMomentsVH.(EmptyMomentsVH.java:27)

OsBelief avatar May 02 '19 09:05 OsBelief