merge code
This commit is contained in:
parent
8310f4b7e7
commit
4614ef4db8
@ -200,7 +200,7 @@ class TaskUploadScope(
|
||||
if (result.code() == 200&&result.body()!=null) {
|
||||
val defaultUserResponse = result.body() as DefaultResponse<*>
|
||||
if(defaultUserResponse.success){
|
||||
change(FileUploadStatus.DONE)
|
||||
change(FileUploadStatus.DONE,"上传成功")
|
||||
}else{
|
||||
change(FileUploadStatus.ERROR,"${defaultUserResponse.msg}")
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
@ -224,6 +225,8 @@ public final class NIMapView extends RelativeLayout {
|
||||
getVtmMap().events.bind(new Map.UpdateListener() {
|
||||
@Override
|
||||
public void onMapEvent(Event e, MapPosition mapPosition) {
|
||||
//Log.e("qj",Thread.currentThread()+"");
|
||||
|
||||
//旋转
|
||||
if (mLastRotateZ != mapPosition.bearing) {
|
||||
mRotateAnimation.startRotationZ(mLastRotateZ, mapPosition.bearing);
|
||||
|
Loading…
x
Reference in New Issue
Block a user