mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 04:07:42 +08:00
fix some uninit variables
This commit is contained in:
parent
c1a52ef4c4
commit
a45d49e604
@ -271,9 +271,10 @@ void AbsListView::initAbsListView(const AttributeSet&atts) {
|
||||
|
||||
mFlingRunnable = std::bind(&AbsListView::FLY_Proc,this);
|
||||
mCheckFlywheel = std::bind(&AbsListView::FLY_CheckFlyWheelProc,this);
|
||||
mWidthMeasureSpec=0;
|
||||
mSelector = nullptr;
|
||||
mSelector = nullptr;
|
||||
mDirection = 0;
|
||||
mCacheColorHint = 0;
|
||||
mWidthMeasureSpec = 0;
|
||||
mResurrectToPosition = INVALID_POSITION;
|
||||
mLayoutMode = LAYOUT_FORCE_TOP;
|
||||
mTouchMode = TOUCH_MODE_REST ;
|
||||
|
@ -11,6 +11,7 @@ FastScroller::FastScroller(AbsListView*listView,const std::string& styleResId){
|
||||
mOldItemCount = listView->getCount();
|
||||
mOldChildCount = listView->getChildCount();
|
||||
mHeaderCount = 0;
|
||||
mFirstVisibleItem = 0;
|
||||
|
||||
Context* context = listView->getContext();
|
||||
mScaledTouchSlop = ViewConfiguration::get(context).getScaledTouchSlop();
|
||||
|
Loading…
Reference in New Issue
Block a user