mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-06 06:08:24 +08:00
fix some prototypes of recyclerview.adapter
This commit is contained in:
parent
43db51fb58
commit
716b55884b
@ -1873,9 +1873,9 @@ bool RecyclerView::onTouchEvent(MotionEvent& e) {
|
||||
}
|
||||
} break;
|
||||
|
||||
case MotionEvent::ACTION_POINTER_UP: {
|
||||
onPointerUp(e);
|
||||
} break;
|
||||
case MotionEvent::ACTION_POINTER_UP:
|
||||
onPointerUp(e);
|
||||
break;
|
||||
|
||||
case MotionEvent::ACTION_UP: {
|
||||
mVelocityTracker->addMovement(*vtev);
|
||||
@ -1889,9 +1889,9 @@ bool RecyclerView::onTouchEvent(MotionEvent& e) {
|
||||
resetTouch();
|
||||
} break;
|
||||
|
||||
case MotionEvent::ACTION_CANCEL: {
|
||||
cancelTouch();
|
||||
} break;
|
||||
case MotionEvent::ACTION_CANCEL:
|
||||
cancelTouch();
|
||||
break;
|
||||
}
|
||||
|
||||
if (!eventAddedToVelocityTracker) {
|
||||
|
@ -209,7 +209,7 @@ public:/*public classes*/
|
||||
virtual bool onFailedToRecycleView(ViewHolder& holder);
|
||||
virtual void onViewAttachedToWindow(ViewHolder& holder);
|
||||
virtual void onViewDetachedFromWindow(ViewHolder& holder);
|
||||
bool hasObservers()const final;
|
||||
bool hasObservers()const;
|
||||
void registerAdapterDataObserver(AdapterDataObserver* observer);
|
||||
void unregisterAdapterDataObserver(AdapterDataObserver* observer);
|
||||
virtual void onAttachedToRecyclerView(RecyclerView& recyclerView);
|
||||
|
Loading…
Reference in New Issue
Block a user