Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Chanven/CommonPullToRefresh
/ functions
Functions
539 in github.com/Chanven/CommonPullToRefresh
⨍
Functions
539
◇
Types & classes
64
Method
onCreate
(Bundle savedInstanceState)
cptr_demo/src/com/chanven/cptr/demo/SwipeListViewActivity.java:39
Method
onCreate
(Bundle savedInstanceState)
cptr_demo/src/com/chanven/cptr/demo/ListViewActivity.java:53
Method
onCreateViewHolder
(ViewGroup viewHolder, int position)
cptr_demo/src/com/chanven/cptr/demo/RecyclerViewActivity.java:140
Method
onDetachedFromWindow
()
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:301
Method
onDraw
(Canvas canvas)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:193
Method
onDraw
(Canvas canvas)
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:112
Method
onFinishInflate
()
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:129
Method
onItemClick
(AdapterView<?> parent, View view, int position, long id)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:870
Method
onItemClick
(ViewHolder vh, int position)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:299
Method
onItemLongClick
(AdapterView<?> parent, View view, int position, long id)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:880
Method
onItemLongClick
(ViewHolder vh, int position)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:303
Method
onItemRangeChanged
(int positionStart, int itemCount)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:329
Method
onItemRangeInserted
(int positionStart, int itemCount)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:334
Method
onItemRangeMoved
(int fromPosition, int toPosition, int itemCount)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:344
Method
onItemRangeRemoved
(int positionStart, int itemCount)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:339
Method
onItemSelected
(AdapterView<?> adapterView, View view, int position, long id)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewHandler.java:98
Method
onItemSelected
(AdapterView<?> listView, View view, int position, long id)
cptr/src/com/chanven/lib/cptr/loadmore/ListViewHandler.java:80
Method
onLayout
(boolean flag, int i, int j, int k, int l)
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:231
Method
onLayout
(boolean changed, int left, int top, int right, int bottom)
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:106
Method
onLayout
(boolean changed, int left, int top, int right, int bottom)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:441
Method
onLongClick
(View v)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:286
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:187
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:104
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:99
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:451
Method
onNothingSelected
(AdapterView<?> parent)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewHandler.java:107
Method
onNothingSelected
(AdapterView<?> parent)
cptr/src/com/chanven/lib/cptr/loadmore/ListViewHandler.java:89
Method
onPressDown
(float x, float y)
cptr/src/com/chanven/lib/cptr/indicator/PtrTensionIndicator.java:15
Method
onRefresh
()
cptr/src/com/chanven/lib/cptr/loadmore/SwipeRefreshHelper.java:34
Method
onRefreshBegin
(PtrFrameLayout frame)
cptr_demo/src/com/chanven/cptr/demo/RecyclerViewActivity.java:82
Method
onRefreshBegin
(PtrFrameLayout frame)
cptr_demo/src/com/chanven/cptr/demo/GridViewAtivity.java:75
Method
onRefreshBegin
(PtrFrameLayout frame)
cptr_demo/src/com/chanven/cptr/demo/ListViewActivity.java:77
Method
onRelease
()
cptr/src/com/chanven/lib/cptr/indicator/PtrIndicator.java:36
Method
onRelease
()
cptr/src/com/chanven/lib/cptr/indicator/PtrTensionIndicator.java:22
Method
onScorllBootom
()
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:1124
Method
onScorllBootom
()
cptr/src/com/chanven/lib/cptr/loadmore/SwipeRefreshHelper.java:144
Method
onScroll
(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewHandler.java:135
Method
onScroll
(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)
cptr/src/com/chanven/lib/cptr/loadmore/ListViewHandler.java:117
Method
onScrollStateChanged
(AbsListView view, int scrollState)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewHandler.java:126
Method
onScrollStateChanged
(android.support.v7.widget.RecyclerView recyclerView, int newState)
cptr/src/com/chanven/lib/cptr/loadmore/RecyclerViewHandler.java:75
Method
onScrollStateChanged
(AbsListView listView, int scrollState)
cptr/src/com/chanven/lib/cptr/loadmore/ListViewHandler.java:108
Method
onScrolled
(android.support.v7.widget.RecyclerView recyclerView, int dx, int dy)
cptr/src/com/chanven/lib/cptr/loadmore/RecyclerViewHandler.java:96
Method
onUIPositionChange
(PtrFrameLayout frame, boolean isUnderTouch, byte status, PtrIndicator ptrIndicator)
cptr/src/com/chanven/lib/cptr/PtrUIHandlerHolder.java:149
Method
onUIPositionChange
(PtrFrameLayout frame, boolean isUnderTouch, byte status, PtrIndicator ptrIndicator)
cptr/src/com/chanven/lib/cptr/PtrClassicDefaultHeader.java:227
Method
onUIPositionChange
(PtrFrameLayout frame, boolean isUnderTouch, byte status, PtrIndicator ptrIndicator)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:274
Method
onUIPositionChange
(PtrFrameLayout frame, boolean isUnderTouch, byte status, PtrIndicator ptrIndicator)
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:164
Method
onUIRefreshBegin
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrUIHandlerHolder.java:127
Method
onUIRefreshBegin
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrClassicDefaultHeader.java:145
Method
onUIRefreshBegin
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:264
Method
onUIRefreshBegin
perform refreshing UI @param frame
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:148
Method
onUIRefreshComplete
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrUIHandlerHolder.java:138
Method
onUIRefreshComplete
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrClassicDefaultHeader.java:157
Method
onUIRefreshComplete
()
cptr/src/com/chanven/lib/cptr/indicator/PtrIndicator.java:40
Method
onUIRefreshComplete
()
cptr/src/com/chanven/lib/cptr/indicator/PtrTensionIndicator.java:29
Method
onUIRefreshComplete
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:269
Method
onUIRefreshComplete
perform UI after refresh @param frame
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:159
Method
onUIRefreshPrepare
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrUIHandlerHolder.java:113
Method
onUIRefreshPrepare
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrClassicDefaultHeader.java:127
Method
onUIRefreshPrepare
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:259
Method
onUIRefreshPrepare
prepare for loading @param frame
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:139
Method
onUIReset
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrUIHandlerHolder.java:102
Method
onUIReset
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/PtrClassicDefaultHeader.java:120
Method
onUIReset
(PtrFrameLayout frame)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:250
Method
onUIReset
When the content view has reached top and refresh has been completed, view will be reset. @param frame
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:128
Method
onfresh
()
cptr_demo/src/com/chanven/cptr/demo/SwipeListViewActivity.java:66
Method
processOnMove
(float currentX, float currentY, float offsetX, float offsetY)
cptr/src/com/chanven/lib/cptr/indicator/PtrTensionIndicator.java:41
Method
refreshComplete
()
cptr/src/com/chanven/lib/cptr/loadmore/SwipeRefreshHelper.java:76
Method
registerDataSetObserver
(DataSetObserver observer)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:815
Method
removeFooter
()
cptr/src/com/chanven/lib/cptr/loadmore/GridViewHandler.java:73
Method
removeFooter
()
cptr/src/com/chanven/lib/cptr/loadmore/RecyclerViewHandler.java:51
Method
removeFooter
(View v)
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:574
Method
removeFooter
()
cptr/src/com/chanven/lib/cptr/loadmore/ListViewHandler.java:55
Method
removeFooter
(View footer)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:221
Method
removeHeader
(View header)
cptr/src/com/chanven/lib/cptr/recyclerview/RecyclerAdapterWithHF.java:203
Method
removeHeaderView
Removes a previously-added header view. @param v The view to remove @return true if the view was removed, false if the view was not a header view
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:222
Method
removePtrUIHandler
(PtrUIHandler ptrUIHandler)
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:788
Method
run
()
cptr_demo/src/com/chanven/cptr/demo/RecyclerViewActivity.java:74
Method
run
()
cptr_demo/src/com/chanven/cptr/demo/GridViewAtivity.java:67
Method
run
()
cptr_demo/src/com/chanven/cptr/demo/SwipeListViewActivity.java:59
Method
run
()
cptr_demo/src/com/chanven/cptr/demo/ListViewActivity.java:69
Method
run
()
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:975
Method
run
()
cptr/src/com/chanven/lib/cptr/header/MaterialHeader.java:51
Method
scheduleDrawable
(Drawable d, Runnable what, long when)
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:118
Method
setAlpha
@param alpha Set the alpha of the progress spinner and associated arrowhead.
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:580
Method
setArrowScale
@param scale Set the scale of the arrowhead for the spinner.
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:680
Method
setAutoLoadMoreEnable
(boolean isAutoLoadMoreEnable)
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:1055
Method
setAutoLoadMoreEnable
(boolean isAutoLoadMoreEnable)
cptr/src/com/chanven/lib/cptr/loadmore/SwipeRefreshHelper.java:139
Method
setBackgroundColor
(int color)
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:469
Method
setClipChildrenSupper
Do not call this method unless you know how it works. @param clipChildren
cptr/src/com/chanven/lib/cptr/loadmore/GridViewWithHeaderAndFooter.java:113
Method
setColorFilter
(ColorFilter filter)
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:565
Method
setColorSchemeColors
Set the colors used in the progress animation from color resources. The first color will also be the color of the bar that grows in response to a user
cptr/src/com/chanven/lib/cptr/header/MaterialProgressDrawable.java:245
Method
setDropHeight
(int height)
cptr/src/com/chanven/lib/cptr/header/StoreHouseHeader.java:99
Method
setDurationToClose
The duration to return back to the refresh position @param duration
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:819
Method
setDurationToCloseHeader
The duration to close time @param duration
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:833
Method
setEnabledNextPtrAtOnce
If @param enable has been set to true. The user can perform next PTR at once. @param enable
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:719
Method
setFooterView
(ILoadMoreViewFactory factory)
cptr/src/com/chanven/lib/cptr/loadmore/SwipeRefreshHelper.java:80
Method
setFooterVisibility
(boolean isVisible)
cptr/src/com/chanven/lib/cptr/loadmore/ILoadMoreViewFactory.java:67
Method
setFooterVisibility
(boolean isVisible)
cptr/src/com/chanven/lib/cptr/loadmore/DefaultLoadMoreViewFooter.java:80
Method
setHeaderHeight
(int height)
cptr/src/com/chanven/lib/cptr/indicator/PtrTensionIndicator.java:35
Method
setInterceptEventWhileWorking
Not necessary any longer. Once moved, cancel event will be sent to child. @param yes
cptr/src/com/chanven/lib/cptr/PtrFrameLayout.java:771
← previous
next →
401–500 of 539, ranked by callers