Java Code Examples for com.socks.jiandan.callback.LoadResultCallBack#SUCCESS_NONE
The following examples show how to use
com.socks.jiandan.callback.LoadResultCallBack#SUCCESS_NONE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CommentListActivity.java From JianDan_OkHttpWithVolley with Apache License 2.0 | 5 votes |
@Override public void onSuccess(int result, Object object) { if (result == LoadResultCallBack.SUCCESS_NONE) { ShowToast.Short(NO_COMMENTS); } loading.stop(); mSwipeRefreshLayout.setRefreshing(false); }
Example 2
Source File: CommentListActivity.java From JianDan with Apache License 2.0 | 5 votes |
@Override public void onSuccess(int result, Object object) { if (result == LoadResultCallBack.SUCCESS_NONE) { ShowToast.Short(NO_COMMENTS); } loading.stop(); mSwipeRefreshLayout.setRefreshing(false); }
Example 3
Source File: CommentListActivity.java From JianDanRxJava with Apache License 2.0 | 5 votes |
@Override public void onSuccess(int result, Object object) { if (result == LoadResultCallBack.SUCCESS_NONE) { ToastHelper.Short(NO_COMMENTS); } loading.stop(); mSwipeRefreshLayout.setRefreshing(false); }
Example 4
Source File: CommentListActivity.java From JianDan_OkHttp with Apache License 2.0 | 5 votes |
@Override public void onSuccess(int result, Object object) { if (result == LoadResultCallBack.SUCCESS_NONE) { ShowToast.Short(NO_COMMENTS); } loading.stop(); mSwipeRefreshLayout.setRefreshing(false); }