修复RecyclerView Bug
This commit is contained in:
parent
6f73e96888
commit
4856704bd2
@ -21,3 +21,8 @@
|
|||||||
1.事件详情添加上报人名称
|
1.事件详情添加上报人名称
|
||||||
2.登录页添加标识
|
2.登录页添加标识
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 2023-5-8
|
||||||
|
```
|
||||||
|
1.修复Bug Inconsistency detected (在清除了mData后续要重新刷新Adapter)
|
||||||
|
```
|
@ -5,13 +5,13 @@ plugins {
|
|||||||
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!!!'
|
||||||
|
@ -5,6 +5,9 @@ import android.widget.ImageView;
|
|||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
|
|
||||||
|
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.alibaba.android.arouter.launcher.ARouter;
|
import com.alibaba.android.arouter.launcher.ARouter;
|
||||||
import com.tengshisoft.chatmodule.R;
|
import com.tengshisoft.chatmodule.R;
|
||||||
@ -24,8 +27,6 @@ import com.tenlionsoft.baselib.core.widget.views.TypeFaceTextView;
|
|||||||
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;
|
||||||
@ -161,9 +162,9 @@ public class DeptContactFragment extends BaseFragment {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNext(@NonNull Integer o) {
|
public void onNext(@NonNull Integer o) {
|
||||||
|
mAdapter.setData(mDatas);
|
||||||
if (o == 1) {
|
if (o == 1) {
|
||||||
//有数据
|
//有数据
|
||||||
mAdapter.setData(mDatas);
|
|
||||||
refreshStateView(STATE_SUCCESS);
|
refreshStateView(STATE_SUCCESS);
|
||||||
} else {
|
} else {
|
||||||
//没有数据
|
//没有数据
|
||||||
|
Loading…
Reference in New Issue
Block a user