修复事件自处理无日志bug
This commit is contained in:
parent
47d946f814
commit
211a5cfb05
@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
|
|||||||
android {
|
android {
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
storeFile file('/Users/adam/Documents/tengshi.jks')
|
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
|
||||||
storePassword 'aaa111!!!'
|
storePassword 'aaa111!!!'
|
||||||
keyAlias = 'tengshi'
|
keyAlias = 'tengshi'
|
||||||
keyPassword 'aaa111!!!'
|
keyPassword 'aaa111!!!'
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
storeFile file('/Users/adam/Documents/tengshi.jks')
|
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
|
||||||
storePassword 'aaa111!!!'
|
storePassword 'aaa111!!!'
|
||||||
keyAlias = 'tengshi'
|
keyAlias = 'tengshi'
|
||||||
keyPassword 'aaa111!!!'
|
keyPassword 'aaa111!!!'
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
<solid android:color="@color/white" />
|
<solid android:color="@color/white" />
|
||||||
<corners
|
<corners
|
||||||
android:topLeftRadius="30dp"
|
android:topLeftRadius="20dp"
|
||||||
android:topRightRadius="30dp" />
|
android:topRightRadius="20dp" />
|
||||||
</shape>
|
</shape>
|
@ -3,6 +3,8 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="5dp"
|
||||||
|
android:background="@drawable/shape_rectangle_white"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="10dp">
|
android:padding="10dp">
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
package com.tengshisoft.commonmodule.activitys.logs;
|
package com.tengshisoft.commonmodule.activitys.logs;
|
||||||
|
|
||||||
|
import android.text.TextUtils;
|
||||||
|
|
||||||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.alibaba.android.arouter.facade.annotation.Route;
|
import com.alibaba.android.arouter.facade.annotation.Route;
|
||||||
import com.scwang.smart.refresh.layout.SmartRefreshLayout;
|
import com.scwang.smart.refresh.layout.SmartRefreshLayout;
|
||||||
import com.tengshisoft.commonmodule.R;
|
import com.tengshisoft.commonmodule.R;
|
||||||
@ -16,8 +21,6 @@ import com.tenlionsoft.baselib.utils.UserLgUtils;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
|
||||||
import butterknife.BindView;
|
import butterknife.BindView;
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.Unbinder;
|
import butterknife.Unbinder;
|
||||||
@ -77,8 +80,12 @@ public class IncidentLogActivity extends BaseActivity {
|
|||||||
mAdapter = new IncidentLogAdapter(mActivity, mDatas);
|
mAdapter = new IncidentLogAdapter(mActivity, mDatas);
|
||||||
mRlvContent.setLayoutManager(new LinearLayoutManager(mActivity));
|
mRlvContent.setLayoutManager(new LinearLayoutManager(mActivity));
|
||||||
mRlvContent.setAdapter(mAdapter);
|
mRlvContent.setAdapter(mAdapter);
|
||||||
|
if (TextUtils.isEmpty(mBusinessId)) {
|
||||||
|
refreshView(STATE_LOAD_EMPTY);
|
||||||
|
} else {
|
||||||
getLogList();
|
getLogList();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取日志列表
|
* 获取日志列表
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/ll_base_info"
|
android:id="@+id/ll_base_info"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="50dp"
|
android:layout_height="80dp"
|
||||||
android:background="@drawable/shape_blue_bg"
|
android:background="@drawable/shape_blue_bg"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="20dp">
|
android:padding="20dp">
|
||||||
@ -66,7 +66,8 @@
|
|||||||
android:id="@+id/et_appraise_content"
|
android:id="@+id/et_appraise_content"
|
||||||
style="@style/item_content_edit"
|
style="@style/item_content_edit"
|
||||||
android:hint="请输入评价内容"
|
android:hint="请输入评价内容"
|
||||||
android:minLines="2" />
|
android:minLines="2"
|
||||||
|
tools:ignore="TouchTargetSizeCheck" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout style="@style/item_white">
|
<LinearLayout style="@style/item_white">
|
||||||
@ -101,7 +102,8 @@
|
|||||||
android:progressTint="@color/yellow1"
|
android:progressTint="@color/yellow1"
|
||||||
android:rating="3"
|
android:rating="3"
|
||||||
android:secondaryProgressTint="@color/yellow1"
|
android:secondaryProgressTint="@color/yellow1"
|
||||||
android:stepSize="1" />
|
android:stepSize="1"
|
||||||
|
tools:ignore="SpeakableTextPresentCheck" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -137,7 +139,8 @@
|
|||||||
android:progressTint="@color/yellow1"
|
android:progressTint="@color/yellow1"
|
||||||
android:rating="3"
|
android:rating="3"
|
||||||
android:secondaryProgressTint="@color/yellow1"
|
android:secondaryProgressTint="@color/yellow1"
|
||||||
android:stepSize="1" />
|
android:stepSize="1"
|
||||||
|
tools:ignore="SpeakableTextPresentCheck" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -156,7 +159,8 @@
|
|||||||
android:paddingBottom="5dp"
|
android:paddingBottom="5dp"
|
||||||
android:text="保存评价"
|
android:text="保存评价"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
tools:ignore="TouchTargetSizeCheck" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
@ -364,6 +368,7 @@
|
|||||||
android:id="@+id/rlv_photos"
|
android:id="@+id/rlv_photos"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
tools:ignore="SpeakableTextPresentCheck"
|
||||||
tools:itemCount="1"
|
tools:itemCount="1"
|
||||||
tools:listitem="@layout/item_show_photo_smail"
|
tools:listitem="@layout/item_show_photo_smail"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
Loading…
Reference in New Issue
Block a user