| | |
| | | initView(); |
| | | //初始化界面监听器 |
| | | initEvent(); |
| | | |
| | | // requestPermissions(new PermissionsResultCallback() { |
| | | // @Override |
| | | // public void succeed() { |
| | | // |
| | | // |
| | | // } |
| | | // |
| | | // @Override |
| | | // public void failing() { |
| | | // } |
| | | // }); |
| | | |
| | | } |
| | | |
| | |
| | | viewBinding.toolbarTopFragmentHouseListRl.topMoreIv.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopFragmentHouseListRl.topMoreIv.setImageResource(R.drawable.add); |
| | | LinearLayoutManager linearLayout = new LinearLayoutManager(_mActivity); |
| | | houseInfoAdapter = new HouseInfoAdapter(this.houseListBeanIDList, _mActivity); |
| | | houseInfoAdapter = new HouseInfoAdapter(_mActivity); |
| | | viewBinding.fragmentHouseSrlListRc.setLayoutManager(linearLayout); |
| | | viewBinding.fragmentHouseSrlListRc.setAdapter(houseInfoAdapter); |
| | | |
| | | |
| | | houseInfoAdapter.setList(this.houseListBeanIDList); |
| | | this.nullDataUpdateUi(houseListBeanIDList); |
| | | |
| | | |
| | |
| | | if (houseInfoAdapter != null) { |
| | | //更新UI |
| | | houseInfoAdapter.setList(list); |
| | | houseInfoAdapter.notifyDataSetChanged(); |
| | | } |
| | | |
| | | } |