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