You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, onClick doesn't call super if the item isn't enabled or isViewExpandableOnClick() == false, but this stops any callbacks added to the adapter from being called, which should never be the case if the item is enabled. I think it should be the same as onLongClick().
public void onClick(View view) {
if (mAdapter.isEnabled(getFlexibleAdapterPosition()) && isViewExpandableOnClick()) {
toggleExpansion();
}
super.onClick(view);
}
The text was updated successfully, but these errors were encountered:
Currently,
onClick
doesn't call super if the item isn't enabled orisViewExpandableOnClick() == false
, but this stops any callbacks added to the adapter from being called, which should never be the case if the item is enabled. I think it should be the same asonLongClick()
.The text was updated successfully, but these errors were encountered: