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 . These examples are extracted from open source projects. 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
@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 Project: JianDan   File: CommentListActivity.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void onSuccess(int result, Object object) {
    if (result == LoadResultCallBack.SUCCESS_NONE) {
        ShowToast.Short(NO_COMMENTS);
    }
    loading.stop();
    mSwipeRefreshLayout.setRefreshing(false);
}
 
Example 3
@Override
public void onSuccess(int result, Object object) {
    if (result == LoadResultCallBack.SUCCESS_NONE) {
        ToastHelper.Short(NO_COMMENTS);
    }
    loading.stop();
    mSwipeRefreshLayout.setRefreshing(false);
}
 
Example 4
@Override
public void onSuccess(int result, Object object) {
    if (result == LoadResultCallBack.SUCCESS_NONE) {
        ShowToast.Short(NO_COMMENTS);
    }
    loading.stop();
    mSwipeRefreshLayout.setRefreshing(false);
}