修复事件自处理无日志bug
This commit is contained in:
parent
ffd86e9400
commit
6f73e96888
@ -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>
|
@ -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();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取日志列表
|
* 获取日志列表
|
||||||
|
Loading…
Reference in New Issue
Block a user