Upgrade
This commit is contained in:
@@ -16,13 +16,13 @@ public class BaseListener implements Base {
|
||||
|
||||
@Override
|
||||
public void onError(long l, String s) {
|
||||
Log.e("F-OpenIMSD(callback)", s);
|
||||
// Log.e("F-OpenIMSD(callback)", s);
|
||||
CommonUtil.runMainThreadReturnError(result, l, s, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(String s) {
|
||||
Log.i("F-OpenIMSDK(callback)", s);
|
||||
// Log.i("F-OpenIMSDK(callback)", s);
|
||||
CommonUtil.runMainThreadReturn(result, s);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,12 @@ public class ConversationManager extends BaseManager {
|
||||
Open_im_sdk.getAllConversationList(new BaseListener(result));
|
||||
}
|
||||
|
||||
public void getConversationListSplit(MethodCall methodCall, MethodChannel.Result result) {
|
||||
Open_im_sdk.getConversationListSplit(new BaseListener(result),
|
||||
int2long(methodCall, "offset"),
|
||||
int2long(methodCall, "count"));
|
||||
}
|
||||
|
||||
public void getOneConversation(MethodCall methodCall, MethodChannel.Result result) {
|
||||
Open_im_sdk.getOneConversation(
|
||||
value(methodCall, "sourceID"),
|
||||
|
||||
Reference in New Issue
Block a user