Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Uphie/ONE-Unofficial
/ functions
Functions
556 in github.com/Uphie/ONE-Unofficial
⨍
Functions
556
◇
Types & classes
98
↓ 28 callers
Method
share
(int channel,Object data)
app/src/main/java/studio/uphie/one/interfaces/IShare.java:8
↓ 19 callers
Method
add
增加一个Fragment @param fragment
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:46
↓ 18 callers
Method
getInstance
()
app/src/main/java/studio/uphie/one/utils/NetworkUtil.java:28
↓ 17 callers
Method
show
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:112
↓ 15 callers
Method
showFooterLoadingLayout
@return true if this mode wants the Loading Layout Footer to be shown
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1426
↓ 15 callers
Method
showHeaderLoadingLayout
@return true if this mode wants the Loading Layout Header to be shown
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1419
↓ 14 callers
Method
onRefreshComplete
Mark the current Refresh as complete. Will Reset the UI and hide the Refreshing View
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:153
↓ 12 callers
Method
getDate
获取当前日期,eg: 2015-09-06 @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:44
↓ 11 callers
Method
addView
(View child, int index, ViewGroup.LayoutParams params)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:130
↓ 11 callers
Method
getPullToRefreshScrollDirection
@return Either {@link Orientation#VERTICAL} or {@link Orientation#HORIZONTAL} depending on the scroll direction.
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:538
↓ 11 callers
Method
getRefreshableView
Get the Wrapped Refreshable View. Anything returned here has already been added to the content view. @return The View which is currently wrapped
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:102
↓ 11 callers
Method
setState
(State state, final boolean... params)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:540
↓ 9 callers
Method
smoothScrollTo
Smooth Scroll to position using the default duration of {@value #SMOOTH_SCROLL_DURATION_MS} ms. @param scrollValue - Position to scroll to
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:995
↓ 8 callers
Method
getLoadingLayoutProxy
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:168
↓ 7 callers
Method
getCount
()
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:161
↓ 7 callers
Method
getCurArticle
()
app/src/main/java/studio/uphie/one/ui/article/ArticleFragment.java:73
↓ 7 callers
Method
getCurQuestion
()
app/src/main/java/studio/uphie/one/ui/question/QuestionFragment.java:72
↓ 7 callers
Method
getCurSaying
()
app/src/main/java/studio/uphie/one/ui/home/HomeFragment.java:74
↓ 7 callers
Method
getCurThing
()
app/src/main/java/studio/uphie/one/ui/thing/ThingFragment.java:71
↓ 7 callers
Method
getHttpData
(String url, RequestParams param,HttpData httpData)
app/src/main/java/studio/uphie/one/interfaces/IHttp.java:13
↓ 7 callers
Method
getItem
(int position)
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:176
↓ 7 callers
Method
getShowIndicatorInternal
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:370
↓ 7 callers
Method
hide
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:108
↓ 7 callers
Method
setEmptyView
Should call PullToRefreshBase.setEmptyView() which will then automatically call through to setEmptyViewInternal() @param emptyView - to set as Empty
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/EmptyViewMethodAccessor.java:41
↓ 6 callers
Method
finish
()
app/src/main/java/studio/uphie/one/ui/home/HomeContentFragment.java:208
↓ 6 callers
Method
getCurrentItem
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager.java:81
↓ 6 callers
Method
getDefault
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1398
↓ 6 callers
Method
init
()
app/src/main/java/studio/uphie/one/interfaces/IInit.java:9
↓ 6 callers
Method
isRefreshing
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:216
↓ 6 callers
Method
overScrollBy
Helper method for Overscrolling that encapsulates all of the necessary function. <p/> This should only be used on AdapterView's such as ListView as it
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/OverscrollHelper.java:51
↓ 6 callers
Method
setAdapter
(PagerAdapter pagerAdapter)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager.java:73
↓ 6 callers
Method
setHeaderScroll
Helper method which just calls scrollTo() in the correct scrolling direction. @param value - New Scroll value
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:949
↓ 6 callers
Method
setOnRefreshListener
Set OnRefreshListener for the Widget @param listener - Listener to be used when the Widget is set to Refresh
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:188
↓ 6 callers
Method
setTextColor
(ColorStateList color)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:384
↓ 5 callers
Method
getFooterSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:635
↓ 5 callers
Method
getHeaderSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:643
↓ 5 callers
Method
getIntValue
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1430
↓ 5 callers
Method
getLayoutId
()
app/src/main/java/studio/uphie/one/interfaces/IInit.java:8
↓ 5 callers
Method
reset
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:261
↓ 5 callers
Method
shortShow
(String content)
app/src/main/java/studio/uphie/one/utils/TextToast.java:19
↓ 4 callers
Method
addLayout
This allows you to add extra LoadingLayout instances to this proxy. This is only necessary if you keep your own instances, and want to have them inclu
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/LoadingLayoutProxy.java:27
↓ 4 callers
Method
createLoadingLayout
(Context context, Mode mode, TypedArray attrs)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:587
↓ 4 callers
Method
getCount
()
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:32
↓ 4 callers
Method
getCurrentMode
Get the mode that this view is currently in. This is only really useful when using <code>Mode.BOTH</code>. @return Mode that the view is currently in
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:46
↓ 4 callers
Method
getEntity
将Json解析成对象 @param json json字符串 @param clazz 对象类 @param <T> @return
app/src/main/java/studio/uphie/one/utils/JsonUtil.java:28
↓ 4 callers
Method
getPreviousDate
将指定日期进行偏移,获取偏移后的日期,eg:2015-09-06 @param date 要偏移的日期,需是"2015-09-06"格式 @param offset 偏移的值,可正可负 @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:127
↓ 4 callers
Method
getRefreshableViewWrapper
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:655
↓ 4 callers
Method
getState
@return - The state that the View is currently in.
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:115
↓ 4 callers
Method
init
(Context context, AttributeSet attrs)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1074
↓ 4 callers
Method
isExpired
是否过期,限制查看7天内的往期内容 @return
app/src/main/java/studio/uphie/one/abs/AbsBaseFragment.java:138
↓ 4 callers
Method
isFirstPage
当前是否是第一页 @return
app/src/main/java/studio/uphie/one/abs/AbsBaseFragment.java:130
↓ 4 callers
Method
isReadyForPullEnd
Implemented by derived class to return whether the View is in a state where the user can Pull to Refresh by scrolling from the end. @return true if t
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:675
↓ 4 callers
Method
isReadyForPullStart
Implemented by derived class to return whether the View is in a state where the user can Pull to Refresh by scrolling from the start. @return true if
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:684
↓ 4 callers
Method
isVisible
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:99
↓ 4 callers
Method
onDataError
(String url, HttpError error)
app/src/main/java/studio/uphie/one/interfaces/IHttp.java:17
↓ 4 callers
Method
pullToRefresh
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:226
↓ 4 callers
Method
releaseToRefresh
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:252
↓ 4 callers
Method
removeFromAdapter
从Adapter中移除Fragment @param fragment 要移除的Fragment
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:56
↓ 4 callers
Method
setClearIconVisible
(boolean visible)
app/src/main/java/studio/uphie/one/widgets/ClearEditText.java:69
↓ 4 callers
Method
setOnScrollListener
(OnScrollListener listener)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:216
↓ 4 callers
Method
sync
数据同步
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:131
↓ 3 callers
Method
addOnLikeChangeListener
(OnLikeChangedListener onLikeChangedListener)
app/src/main/java/studio/uphie/one/widgets/LikeView.java:62
↓ 3 callers
Method
addViewInternal
Used internally for adding view. Need because we override addView to pass-through to the Refreshable View
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:575
↓ 3 callers
Method
finish
()
app/src/main/java/studio/uphie/one/ui/article/ArticleContentFragment.java:180
↓ 3 callers
Method
finish
()
app/src/main/java/studio/uphie/one/ui/question/QuestionContentFragment.java:172
↓ 3 callers
Method
finish
()
app/src/main/java/studio/uphie/one/ui/thing/ThingContentFragment.java:170
↓ 3 callers
Method
getEngDate
获取英文格式的日期,eg: Sep. 9,2015 @param date @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:70
↓ 3 callers
Method
getLikeCount
()
app/src/main/java/studio/uphie/one/widgets/LikeView.java:66
↓ 3 callers
Method
getMode
Get the mode that this view has been set to. If this returns <code>Mode.BOTH</code>, you can use <code>getCurrentMode()</code> to check which mode the
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:94
↓ 3 callers
Method
isReadyForPull
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1146
↓ 3 callers
Method
isRefreshing
Returns whether the Widget is currently in the Refreshing mState @return true if the Widget is currently refreshing
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:139
↓ 3 callers
Method
mapIntToValue
Maps an int to a specific mode. This is needed when saving state, or inflating the view from XML where the mode is given through a attr int. @param m
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1387
↓ 3 callers
Method
newInstance
(int index)
app/src/main/java/studio/uphie/one/ui/home/HomeContentFragment.java:213
↓ 3 callers
Method
newInstance
(int index)
app/src/main/java/studio/uphie/one/ui/article/ArticleContentFragment.java:185
↓ 3 callers
Method
newInstance
(int index)
app/src/main/java/studio/uphie/one/ui/question/QuestionContentFragment.java:177
↓ 3 callers
Method
newInstance
(int index)
app/src/main/java/studio/uphie/one/ui/thing/ThingContentFragment.java:175
↓ 3 callers
Method
refreshing
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:235
↓ 3 callers
Method
setLoadingDrawable
Set the drawable used in the loading layout. This is the same as calling <code>setLoadingDrawable(drawable, Mode.BOTH)</code> @param drawable - Drawa
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:22
↓ 3 callers
Method
setPullLabel
Set Text to show when the Widget is being Pulled <code>setPullLabel(releaseLabel, Mode.BOTH)</code> @param pullLabel - CharSequence to display
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:30
↓ 3 callers
Method
setRefreshingLabel
Set Text to show when the Widget is refreshing <code>setRefreshingLabel(releaseLabel, Mode.BOTH)</code> @param refreshingLabel - CharSequence to disp
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:38
↓ 3 callers
Method
stop
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1644
↓ 3 callers
Method
updateIndicatorViewsVisibility
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:451
↓ 3 callers
Method
warnDeprecation
(String depreacted, String replacement)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/Utils.java:9
↓ 2 callers
Method
addIndicatorViews
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:335
↓ 2 callers
Method
callRefreshListener
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1062
↓ 2 callers
Method
checkNetworkAvailable
@return boolean @description 检测服务端是否连接正常 @date 2014年11月9日
app/src/main/java/studio/uphie/one/utils/NetworkUtil.java:40
↓ 2 callers
Method
getAppDir
获得应用主目录 @return 主目录路径
app/src/main/java/studio/uphie/one/utils/FileManager.java:21
↓ 2 callers
Method
getContentSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:195
↓ 2 callers
Method
getFooterLayout
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:631
↓ 2 callers
Method
getHeaderLayout
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:639
↓ 2 callers
Method
getMaximumPullScroll
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1228
↓ 2 callers
Method
getPullToRefreshScrollDuration
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:647
↓ 2 callers
Method
getRefreshableView
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:183
↓ 2 callers
Method
isPullToRefreshEnabled
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:205
↓ 2 callers
Method
isPullToRefreshOverScrollEnabled
Gets whether Overscroll support is enabled. This is different to Android's standard Overscroll support (the edge-glow) which is available from GINGERB
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:132
↓ 2 callers
Method
longShow
(String content)
app/src/main/java/studio/uphie/one/utils/TextToast.java:36
↓ 2 callers
Method
onDestroy
()
app/src/main/java/studio/uphie/one/abs/AbsBaseActivity.java:143
↓ 2 callers
Method
onPull
(float scaleOfLayout)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:220
↓ 2 callers
Method
permitsPullToRefresh
@return true if the mode permits Pull-to-Refresh
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1412
↓ 2 callers
Method
postOnAnimation
(View view, Runnable runnable)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/ViewCompat.java:27
next →
1–100 of 556, ranked by callers