1:修改礼物背包送礼异常
2:修改添加照片出现错乱问题 3:修改头像框不显示的问题 4:修改我的背包显示不正确的问题 5:修改明细、收支时间问题
This commit is contained in:
@@ -47,10 +47,11 @@ import java.util.Date;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*@author qx
|
||||
*@data 2025/6/6
|
||||
*@description: 相册详情
|
||||
* @author qx
|
||||
* @data 2025/6/6
|
||||
* @description: 相册详情
|
||||
*/
|
||||
@Route(path = ARouteConstants.USER_ALBUM_DETAIL)
|
||||
public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, ActivityAlbumDetailBinding> implements AlbumDetailConacts.View {
|
||||
@@ -208,6 +209,9 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
.forResult(requestCode); //结果回调onActivityResult code
|
||||
}
|
||||
|
||||
private int totalUploadCount;//需要上传的数据的总数
|
||||
private int uploadedCount;//已经上传的数据的个数
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
@@ -223,6 +227,9 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
String path = media.isCompressed() ? media.getCompressPath() : media.getRealPath();
|
||||
imageFiles.add(new File(path));
|
||||
}
|
||||
// 记录需要上传的文件总数
|
||||
totalUploadCount = imageFiles.size();
|
||||
uploadedCount = 0;
|
||||
// 开始批量上传
|
||||
MvpPre.batchUploadFiles(imageFiles, 0); // 第二个参数是你原来的 type
|
||||
|
||||
@@ -234,21 +241,29 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
|
||||
@Override
|
||||
public void upLoadSuccess(String url, int type, int index, int total) {
|
||||
|
||||
if (index >= 0 && index < uploadedUrls.size()) {
|
||||
uploadedUrls.add(index, url); // 插入到对应位置
|
||||
} else {
|
||||
uploadedUrls.add(url); // 添加到最后
|
||||
}
|
||||
|
||||
// if (uploadedUrls.size() == total) {
|
||||
updateAdapterData(); // 所有图片上传完成,更新适配器数据
|
||||
// 增加已上传计数
|
||||
uploadedCount++;
|
||||
uploadedUrls.add(url);
|
||||
// if (index >= 0 && index < uploadedUrls.size()) {
|
||||
// uploadedUrls.add(index, url); // 插入到对应位置
|
||||
// } else {
|
||||
// uploadedUrls.add(url); // 添加到最后
|
||||
// }
|
||||
|
||||
// 当所有图片都上传完成时,更新适配器数据
|
||||
if (uploadedCount == totalUploadCount) {
|
||||
updateAdapterData();
|
||||
// 重置计数器
|
||||
uploadedCount = 0;
|
||||
totalUploadCount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void upAddAlbum() {
|
||||
uploadedUrls.clear();
|
||||
// 添加图片后应该重置分页状态并重新加载第一页
|
||||
page = 1;
|
||||
MvpPre.getAlbumDetail(albumId, pwd, page + "", "10");
|
||||
}
|
||||
|
||||
@@ -263,7 +278,7 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
TextView tvTitle = dialog.findViewById(com.xscm.moduleutil.R.id.tv_title);
|
||||
tvTitle.setText("选择相册");
|
||||
assert recyclerView != null;
|
||||
recyclerView.setLayoutManager(new GridLayoutManager(this,4));
|
||||
recyclerView.setLayoutManager(new GridLayoutManager(this, 4));
|
||||
SingleChoiceAdapter sadapter = new SingleChoiceAdapter();
|
||||
recyclerView.setAdapter(sadapter);
|
||||
sadapter.setNewData(data);
|
||||
@@ -287,11 +302,15 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
|
||||
@Override
|
||||
public void moveAlbum() {
|
||||
// 移动图片后应该重置分页状态并重新加载第一页
|
||||
page = 1;
|
||||
MvpPre.getAlbumDetail(albumId, pwd, "1", "10");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteAlbum() {
|
||||
// 删除图片后应该重置分页状态并重新加载第一页
|
||||
page = 1;
|
||||
MvpPre.getAlbumDetail(albumId, pwd, "1", "10");
|
||||
}
|
||||
|
||||
@@ -302,8 +321,8 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
|
||||
@Override
|
||||
public void findAlbum() {
|
||||
mBinding.smartRefreshLayout.finishRefresh() ;
|
||||
mBinding.smartRefreshLayout.finishLoadMore() ;
|
||||
mBinding.smartRefreshLayout.finishRefresh();
|
||||
mBinding.smartRefreshLayout.finishLoadMore();
|
||||
}
|
||||
|
||||
private void updateAdapterData() {
|
||||
@@ -314,7 +333,7 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
page=1;
|
||||
page = 1;
|
||||
MvpPre.getAlbumDetail(albumId, pwd, "1", "10");
|
||||
}
|
||||
|
||||
@@ -331,9 +350,9 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
private void updateZanButtonUI(AlbumBean albumBean) {
|
||||
if (albumBean.getIs_like().equals("0")) {
|
||||
mBinding.zanImage.setImageResource(com.xscm.moduleutil.R.mipmap.shousz); // 已点赞图标
|
||||
if (Integer.parseInt(albumBean.getLike_num())==0){
|
||||
if (Integer.parseInt(albumBean.getLike_num()) == 0) {
|
||||
mBinding.dyComment.setText("0");
|
||||
}else {
|
||||
} else {
|
||||
mBinding.dyComment.setText(Integer.parseInt(albumBean.getLike_num()) - 1 + "");
|
||||
}
|
||||
} else {
|
||||
@@ -396,16 +415,19 @@ public class AlbumDetailActivity extends BaseMvpActivity<AlbumDetailPresenter, A
|
||||
if (albumBean.getImage_list() != null && !albumBean.getImage_list().isEmpty()) {
|
||||
List<AlbumBean.ImageList> allImages = albumBean.getImage_list();
|
||||
List<AlbumBean.ImageList> groupedPhotos = groupPhotos(allImages);
|
||||
if (page==1) {
|
||||
if (page == 1) {
|
||||
adapter.setNewData(groupedPhotos);
|
||||
}else {
|
||||
} else {
|
||||
adapter.addData(groupedPhotos);
|
||||
}
|
||||
}else {
|
||||
page=1;
|
||||
if (albumBean.getCount()==null || albumBean.getCount().equals("0")){
|
||||
adapter.setNewData( new ArrayList<>());
|
||||
} else {
|
||||
if (page == 1) {
|
||||
adapter.setNewData(new ArrayList<>());
|
||||
}
|
||||
// page=1;
|
||||
// if (albumBean.getCount()==null || albumBean.getCount().equals("0")){
|
||||
// adapter.setNewData( new ArrayList<>());
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ import com.xscm.moduleutil.utils.DateSelectDialog;
|
||||
import com.xscm.moduleutil.utils.GlideEngine;
|
||||
import com.xscm.moduleutil.utils.ImageUtils;
|
||||
import com.xscm.moduleutil.utils.SpUtil;
|
||||
import com.xscm.moduleutil.widget.Constants;
|
||||
import com.xscm.moduleutil.widget.img.FullScreenUtil;
|
||||
import com.xscm.moduleutil.widget.picker.PictureSelectorUtil;
|
||||
import com.stx.xhb.xbanner.XBanner;
|
||||
@@ -98,8 +99,14 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
updateAdapterData();
|
||||
} else {
|
||||
if (item.equals(UserPhotoWallAdapter.ADD_PHOTO)) {
|
||||
// 点击的是“+”号,启动图片选择
|
||||
startChoosePhoto(1, PictureConfig.REQUEST_CAMERA, false, 9);
|
||||
// 修改判断条件,考虑已上传的图片和ADD_PHOTO项
|
||||
int maxSelectable = 6 - uploadedUrls.size();
|
||||
if (maxSelectable > 0) {
|
||||
// 点击的是"+"'号,启动图片选择
|
||||
startChoosePhoto(1, PictureConfig.REQUEST_CAMERA, false, maxSelectable, false);
|
||||
} else {
|
||||
ToastUtils.showShort("最多只能选择6张图片");
|
||||
}
|
||||
} else {
|
||||
// 查看大图或其他操作
|
||||
FullScreenUtil.showFullScreenDialog(EditUserInfoActivity.this, position, list);
|
||||
@@ -131,7 +138,7 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
|
||||
private void onClick(View view) {
|
||||
if (view.getId() == R.id.rv_user_head) {
|
||||
startChoosePhoto(1, PictureConfig.REQUEST_GO_SETTING, false, 1);
|
||||
startChoosePhoto(1, PictureConfig.REQUEST_GO_SETTING, false, 1,true);
|
||||
} else if (view.getId() == R.id.rl_1) {
|
||||
startActivity(new Intent(this, ChangeNicknameActivity.class));
|
||||
} else if (view.getId() == R.id.rl_3) {
|
||||
@@ -155,7 +162,7 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
return new EditUserPresenter(this, this);
|
||||
}
|
||||
|
||||
private void startChoosePhoto(int mimeType, int requestCode, boolean isVideo, int type) {
|
||||
private void startChoosePhoto(int mimeType, int requestCode, boolean isVideo, int type , boolean isCq) {
|
||||
|
||||
// PictureSelector.create(this)
|
||||
// .openGallery(mimeType)
|
||||
@@ -169,80 +176,97 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
// .setPictureStyle(MyPictureParameterStyle.Companion.selectPicture())
|
||||
// .forResult(requestCode); //结果回调onActivityResult code
|
||||
|
||||
PictureSelectorUtil pictureSelectorUtil = new PictureSelectorUtil();
|
||||
|
||||
PictureSelector.create(this)
|
||||
.openGallery(mimeType)
|
||||
.isGif(isVideo)
|
||||
.setMaxSelectNum(type)
|
||||
.isPreviewImage(false)
|
||||
.setImageEngine(GlideEngine.createGlideEngine())
|
||||
.setImageEngine(GlideEngine.createGlideEngine()) // 选择器展示不出图片则添加
|
||||
.setCropEngine(new CropFileEngine() {
|
||||
@Override
|
||||
public void onStartCrop(Fragment fragment, Uri srcUri, Uri destinationUri, ArrayList<String> dataSource, int requestCode) {
|
||||
UCrop.Options options = pictureSelectorUtil.buildOptions();
|
||||
UCrop uCrop = UCrop.of(srcUri, destinationUri, dataSource);
|
||||
uCrop.withOptions(options);
|
||||
uCrop.setImageEngine(new UCropImageEngine() {
|
||||
@Override
|
||||
public void loadImage(Context context, String url, ImageView imageView) {
|
||||
// if (!ImageLoaderUtils.assertValidRequest(context)) {
|
||||
// return;
|
||||
// }
|
||||
Glide.with(context).load(url).override(180, 180).into(imageView);
|
||||
}
|
||||
if (!isCq) {
|
||||
|
||||
@Override
|
||||
public void loadImage(Context context, Uri url, int maxWidth, int maxHeight, OnCallbackListener<Bitmap> call) {
|
||||
Glide.with(context).asBitmap().load(url).override(maxWidth, maxHeight).into(new CustomTarget<Bitmap>() {
|
||||
@Override
|
||||
public void onResourceReady(@NonNull Bitmap resource, @org.jetbrains.annotations.Nullable Transition<? super Bitmap> transition) {
|
||||
if (call != null) {
|
||||
call.onCall(resource);
|
||||
PictureSelector.create(this)
|
||||
.openGallery(mimeType)
|
||||
.isGif(isVideo)
|
||||
.setImageEngine(GlideEngine.createGlideEngine())
|
||||
.setMaxSelectNum(type)
|
||||
.isPreviewImage(true)
|
||||
.isDisplayCamera(true)
|
||||
.setOutputCameraDir(Constants.FILE_PATH)
|
||||
.isOriginalSkipCompress(true)
|
||||
|
||||
.forResult(requestCode); //结果回调onActivityResult code
|
||||
} else {
|
||||
|
||||
PictureSelectorUtil pictureSelectorUtil = new PictureSelectorUtil();
|
||||
|
||||
PictureSelector.create(this)
|
||||
.openGallery(mimeType)
|
||||
.isGif(isVideo)
|
||||
.setMaxSelectNum(type)
|
||||
.isPreviewImage(false)
|
||||
.setImageEngine(GlideEngine.createGlideEngine())
|
||||
.setImageEngine(GlideEngine.createGlideEngine()) // 选择器展示不出图片则添加
|
||||
.setCropEngine(new CropFileEngine() {
|
||||
@Override
|
||||
public void onStartCrop(Fragment fragment, Uri srcUri, Uri destinationUri, ArrayList<String> dataSource, int requestCode) {
|
||||
UCrop.Options options = pictureSelectorUtil.buildOptions();
|
||||
UCrop uCrop = UCrop.of(srcUri, destinationUri, dataSource);
|
||||
uCrop.withOptions(options);
|
||||
uCrop.setImageEngine(new UCropImageEngine() {
|
||||
@Override
|
||||
public void loadImage(Context context, String url, ImageView imageView) {
|
||||
Glide.with(context).load(url).override(180, 180).into(imageView);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadImage(Context context, Uri url, int maxWidth, int maxHeight, OnCallbackListener<Bitmap> call) {
|
||||
Glide.with(context).asBitmap().load(url).override(maxWidth, maxHeight).into(new CustomTarget<Bitmap>() {
|
||||
@Override
|
||||
public void onResourceReady(@NonNull Bitmap resource, @org.jetbrains.annotations.Nullable Transition<? super Bitmap> transition) {
|
||||
if (call != null) {
|
||||
call.onCall(resource);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoadCleared(@org.jetbrains.annotations.Nullable Drawable placeholder) {
|
||||
if (call != null) {
|
||||
call.onCall(null);
|
||||
@Override
|
||||
public void onLoadCleared(@org.jetbrains.annotations.Nullable Drawable placeholder) {
|
||||
if (call != null) {
|
||||
call.onCall(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
uCrop.start(fragment.requireActivity(), fragment, requestCode);
|
||||
}
|
||||
})
|
||||
.forResult(requestCode);
|
||||
});
|
||||
}
|
||||
});
|
||||
uCrop.start(fragment.requireActivity(), fragment, requestCode);
|
||||
}
|
||||
})
|
||||
.forResult(requestCode);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private int totalUploadCount;//需要上传的数据的总数
|
||||
private int uploadedCount;//已经上传的数据的个数
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
|
||||
if (resultCode == RESULT_OK && data != null) {
|
||||
switch (requestCode) {
|
||||
case PictureConfig.REQUEST_GO_SETTING:
|
||||
PictureSelector.create(EditUserInfoActivity.this)
|
||||
.openPreview() ;
|
||||
.openPreview();
|
||||
List<LocalMedia> localMedia1 = PictureSelector.obtainSelectorList(data);
|
||||
if (localMedia1 != null && localMedia1.size() != 0) {
|
||||
LocalMedia imgMedia = localMedia1.get(0);
|
||||
String url;
|
||||
if (imgMedia.isCompressed()) {
|
||||
url = imgMedia.getCompressPath();
|
||||
} else {
|
||||
url = imgMedia.getRealPath();
|
||||
}
|
||||
// if (imgMedia.isCompressed()) {
|
||||
// url = imgMedia.getCompressPath();
|
||||
// } else {
|
||||
// url = imgMedia.getRealPath();
|
||||
// }
|
||||
url=imgMedia.getCutPath();
|
||||
MvpPre.uploadFile(new File(url), 1, 1, 1);
|
||||
}
|
||||
break;
|
||||
|
||||
case PictureConfig.CHOOSE_REQUEST:
|
||||
PictureSelector.create(EditUserInfoActivity.this)
|
||||
.openPreview() ;
|
||||
.openPreview();
|
||||
|
||||
List<LocalMedia> localMedia = PictureSelector.obtainSelectorList(data);
|
||||
if (localMedia != null && localMedia.size() != 0) {
|
||||
@@ -258,7 +282,7 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
break;
|
||||
case PictureConfig.REQUEST_CAMERA:
|
||||
PictureSelector.create(EditUserInfoActivity.this)
|
||||
.openPreview() ;
|
||||
.openPreview();
|
||||
List<LocalMedia> localMediaList = PictureSelector.obtainSelectorList(data);
|
||||
|
||||
if (localMediaList != null && !localMediaList.isEmpty()) {
|
||||
@@ -267,7 +291,9 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
String path = media.isCompressed() ? media.getCompressPath() : media.getRealPath();
|
||||
imageFiles.add(new File(path));
|
||||
}
|
||||
|
||||
// 记录需要上传的文件总数
|
||||
totalUploadCount = imageFiles.size();
|
||||
uploadedCount = 0;
|
||||
// 开始批量上传
|
||||
MvpPre.batchUploadFiles(imageFiles, 0); // 第二个参数是你原来的 type
|
||||
|
||||
@@ -299,7 +325,9 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
}
|
||||
list.clear();
|
||||
list.addAll(uploadedUrls);
|
||||
list.add(UserPhotoWallAdapter.ADD_PHOTO); // 最后加上 ADD_PHOTO
|
||||
if (list.size()<6) {
|
||||
list.add(UserPhotoWallAdapter.ADD_PHOTO); // 最后加上 ADD_PHOTO
|
||||
}
|
||||
mUserPhotoWallAdapter.setNewData(list);
|
||||
userInfo1 = userInfo;
|
||||
List<XBannerData> s = new ArrayList<>();
|
||||
@@ -344,8 +372,8 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
@Override
|
||||
public void editUserInfoSuccess(String s) {
|
||||
ToastUtils.showShort(s);
|
||||
uploadedUrls.clear();
|
||||
MvpPre.getUserHome(SpUtil.getUserId() + "");
|
||||
// uploadedUrls.clear();
|
||||
// MvpPre.getUserHome(SpUtil.getUserId() + "");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -364,31 +392,27 @@ public class EditUserInfoActivity extends BaseMvpActivity<EditUserPresenter, Act
|
||||
EventBus.getDefault().post(userBean);
|
||||
MvpPre.editUserInfo("", "", "", url, "", "", "");
|
||||
} else {
|
||||
// list.add(new UserImgList("1", url));
|
||||
// mUserPhotoWallAdapter.setNewData(list);
|
||||
|
||||
try {
|
||||
if (index >= 0 && index <= uploadedUrls.size()) {
|
||||
uploadedUrls.add(index, url);
|
||||
LogUtils.d("EditUserInfoActivity", "图片已插入到位置 "+index);
|
||||
} else {
|
||||
uploadedUrls.add(url);
|
||||
LogUtils.d("EditUserInfoActivity", "图片已添加到末尾");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LogUtils.e("EditUserInfoActivity", "处理图片URL时出错: " + e.getMessage());
|
||||
uploadedUrls.add(url);
|
||||
// 增加已上传计数
|
||||
uploadedCount++;
|
||||
uploadedUrls.add(url);
|
||||
LogUtils.d("EditUserInfoActivity", "图片已插入到位置 " + uploadedUrls.size());
|
||||
// 当所有图片都上传完成时,更新适配器数据
|
||||
if (uploadedCount == totalUploadCount) {
|
||||
updateAdapterData();
|
||||
// 重置计数器
|
||||
uploadedCount = 0;
|
||||
totalUploadCount = 0;
|
||||
}
|
||||
// if (uploadedUrls.size() == total) {
|
||||
updateAdapterData(); // 所有图片上传完成,更新适配器数据
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
private void updateAdapterData() {
|
||||
LogUtils.d("EditUserInfoActivity", "图片已添加到末尾"+uploadedUrls.size());
|
||||
list.clear();
|
||||
list.addAll(uploadedUrls); // 添加真实图片
|
||||
list.add(UserPhotoWallAdapter.ADD_PHOTO); // 最后加上 ADD_PHOTO
|
||||
if (list.size() < 6) {
|
||||
list.add(UserPhotoWallAdapter.ADD_PHOTO); // 最后加上 ADD_PHOTO
|
||||
}
|
||||
mUserPhotoWallAdapter.setNewData(list);
|
||||
String imageUrlsString = TextUtils.join(",", uploadedUrls);
|
||||
// MvpPre.editUserInfo("", "", "", "", imageUrlsString, "", "");
|
||||
|
||||
@@ -58,12 +58,12 @@ public class RoomDetailsActivity extends BaseMvpActivity<RoomDetailsPresenter, A
|
||||
DoubleTimePickerBottomSheet dialog = new DoubleTimePickerBottomSheet();
|
||||
dialog.setOnTimeRangeSelectedListener((startDate, endDate) -> {
|
||||
// 处理选择的时间范围
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:mm", Locale.getDefault());
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault());
|
||||
Log.d("SelectedTime", "开始时间:" + sdf.format(startDate));
|
||||
// mBinding.tv2.setText(sdf.format(startDate));
|
||||
mBinding.tv2.setText(sdf.format(startDate));
|
||||
Log.d("SelectedTime", "结束时间:" + sdf.format(endDate));
|
||||
// mBinding.tv22.setText(sdf.format(endDate));
|
||||
|
||||
mBinding.tv22.setText(sdf.format(endDate));
|
||||
currentPage=1;
|
||||
stime = sdf.format(startDate);
|
||||
etime = sdf.format(endDate);
|
||||
|
||||
|
||||
@@ -468,7 +468,7 @@ public class MyCreateAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
|
||||
tv_name.setText(item.getRoom_name());
|
||||
tv_num.setText(item.getHot_value());
|
||||
|
||||
ImageUtils.loadRes(com.xscm.moduleutil.R.drawable.voice_play, iv_play);
|
||||
// ImageUtils.loadRes(com.xscm.moduleutil.R.drawable.voice_play, iv_play);
|
||||
rl_root.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
@@ -84,7 +84,7 @@ public class RevenueFragment extends BaseMvpFragment<RevenuePresenter, FragmentR
|
||||
DoubleTimePickerBottomSheet dialog = new DoubleTimePickerBottomSheet();
|
||||
dialog.setOnTimeRangeSelectedListener((startDate, endDate) -> {
|
||||
// 处理选择的时间范围
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:mm", Locale.getDefault());
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault());
|
||||
Log.d("SelectedTime", "开始时间:" + sdf.format(startDate));
|
||||
mBinding.tv2.setText(sdf.format(startDate));
|
||||
Log.d("SelectedTime", "结束时间:" + sdf.format(endDate));
|
||||
@@ -113,6 +113,8 @@ public class RevenueFragment extends BaseMvpFragment<RevenuePresenter, FragmentR
|
||||
}else {
|
||||
MvpPre.getRevenueData(page+"","50",revenueType,"",endDate,type);
|
||||
}
|
||||
}else {
|
||||
MvpPre.getRevenueData(page+"","50",revenueType,"","",type);
|
||||
}
|
||||
|
||||
// MvpPre.getRevenueData(page+"","50",revenueType,"","",type);
|
||||
@@ -125,12 +127,14 @@ public class RevenueFragment extends BaseMvpFragment<RevenuePresenter, FragmentR
|
||||
// MvpPre.getRevenueData(page+"","50",revenueType,"","",type);
|
||||
String startDate = mBinding.tv2.getText().toString();
|
||||
String endDate = mBinding.tv22.getText().toString();
|
||||
if ( startDate!=null && !startDate.equals("") ){
|
||||
if ( startDate!=null && !startDate.equals("") ){
|
||||
if ( endDate!=null && !endDate.equals("") ){
|
||||
MvpPre.getRevenueData(page+"","50",revenueType,startDate,endDate,revenueType);
|
||||
}else {
|
||||
MvpPre.getRevenueData(page+"","50",revenueType,"",endDate,type);
|
||||
}
|
||||
}else {
|
||||
MvpPre.getRevenueData(page+"","50",revenueType,"","",type);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -3,27 +3,28 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".activity.EditUserActivity">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.xscm.moduleutil.widget.CustomTopBar
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.stx.xhb.xbanner.XBanner
|
||||
android:id="@+id/xbanner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_230"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
@@ -31,8 +32,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_122"
|
||||
android:background="@drawable/bg_r16_fff"
|
||||
app:layout_constraintTop_toBottomOf="@+id/top_bar"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@+id/top_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_1"
|
||||
@@ -40,42 +41,41 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="@dimen/dp_84"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_marginEnd="@dimen/dp_84"
|
||||
android:text="@string/avatar_change_info"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:layout_marginTop="@dimen/dp_40"/>
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_36"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:gravity="center|center_vertical"
|
||||
android:layout_marginTop="@dimen/dp_10">
|
||||
android:gravity="center|center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_56"
|
||||
android:layout_height="@dimen/dp_21"
|
||||
android:text="@string/nickname"
|
||||
android:gravity="center|left"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:layout_alignParentStart="true"
|
||||
/>
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center|left"
|
||||
android:text="@string/nickname"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nick_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
tools:text="姓名"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
tools:text="姓名" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_16"
|
||||
@@ -83,7 +83,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:src="@drawable/detail_icon_go"/>
|
||||
android:src="@drawable/detail_icon_go" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -91,32 +91,31 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_36"
|
||||
android:gravity="center|center_vertical"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10">
|
||||
android:gravity="center|center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_56"
|
||||
android:layout_height="@dimen/dp_21"
|
||||
android:text="@string/gender"
|
||||
android:gravity="center|left"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:layout_alignParentStart="true"
|
||||
/>
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center|left"
|
||||
android:text="@string/gender"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sex"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
tools:text="男"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
tools:text="男" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_16"
|
||||
@@ -124,7 +123,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:src="@drawable/detail_icon_go"/>
|
||||
android:src="@drawable/detail_icon_go" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -133,32 +132,31 @@
|
||||
android:id="@+id/rl_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_36"
|
||||
android:gravity="center|center_vertical"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10">
|
||||
android:gravity="center|center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_56"
|
||||
android:layout_height="@dimen/dp_21"
|
||||
android:text="@string/birthday"
|
||||
android:gravity="center|left"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:layout_alignParentStart="true"
|
||||
/>
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center|left"
|
||||
android:text="@string/birthday"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sr"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
tools:text="2020-11-09"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
tools:text="2020-11-09" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_16"
|
||||
@@ -166,7 +164,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:src="@drawable/detail_icon_go"/>
|
||||
android:src="@drawable/detail_icon_go" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -175,32 +173,31 @@
|
||||
android:id="@+id/rl_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_36"
|
||||
android:gravity="center|center_vertical"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10">
|
||||
android:gravity="center|center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_56"
|
||||
android:layout_height="@dimen/dp_21"
|
||||
android:text="@string/introduction"
|
||||
android:gravity="center|left"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:layout_alignParentStart="true"
|
||||
/>
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center|left"
|
||||
android:text="@string/introduction"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_jj"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
tools:text="测试数据"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
tools:text="测试数据" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_16"
|
||||
@@ -208,7 +205,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:src="@drawable/detail_icon_go"/>
|
||||
android:src="@drawable/detail_icon_go" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -223,36 +220,41 @@
|
||||
android:id="@+id/tv_5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:text="@string/background_image"
|
||||
android:gravity="center"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/background_image"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_24"
|
||||
android:text="@string/upload_limit"
|
||||
android:gravity="center"
|
||||
android:layout_toRightOf="@+id/tv_5"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_toRightOf="@+id/tv_5"
|
||||
android:gravity="center"
|
||||
android:text="@string/upload_limit"
|
||||
android:textColor="@color/color_FF666666"
|
||||
/>
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_photo_wall"
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_16" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_photo_wall"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_6"
|
||||
android:layout_marginEnd="@dimen/dp_16" />
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.xscm.moduleutil.widget.GifAvatarOvalView
|
||||
@@ -260,11 +262,11 @@
|
||||
android:layout_width="@dimen/dp_74"
|
||||
android:layout_height="@dimen/dp_74"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@mipmap/me_img_upld_head"
|
||||
app:layout_constraintTop_toBottomOf="@+id/top_bar"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_79"
|
||||
android:src="@mipmap/me_img_upld_head"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/top_bar"
|
||||
app:riv_oval="true" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="@dimen/dp_14"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="累计收益"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="12sp" />
|
||||
@@ -70,7 +70,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:gravity="center">
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
android:layout_below="@+id/tv1"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:drawableLeft="@mipmap/im_zs"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:text="10000"
|
||||
@@ -133,7 +133,6 @@
|
||||
android:layout_below="@+id/tv3"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="@dimen/dp_14"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:text="累计流水"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="12sp" />
|
||||
@@ -145,6 +144,7 @@
|
||||
android:layout_below="@+id/tv4"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_3"
|
||||
android:paddingBottom="@dimen/dp_3"
|
||||
android:drawableLeft="@mipmap/jinb"
|
||||
android:text="10000"
|
||||
android:textColor="@color/color_FF333333"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".fragment.RevenueFragment">
|
||||
|
||||
|
||||
@@ -11,35 +11,36 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rl3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_38"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:background="@drawable/bg_r5_e9e9"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_12"
|
||||
android:text="开始日期"
|
||||
android:layout_weight="1"
|
||||
tools:text="开始日期"
|
||||
android:hint="开始日期"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="0.2"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_weight="0.2"
|
||||
|
||||
android:paddingTop="@dimen/dp_3"
|
||||
android:src="@mipmap/data1" />
|
||||
@@ -47,42 +48,51 @@
|
||||
<TextView
|
||||
android:id="@+id/tv22"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="结束日期"
|
||||
android:layout_weight="1"
|
||||
tools:text="结束日期"
|
||||
android:hint="结束日期"
|
||||
android:textColor="@color/color_FF999999"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="0.2"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_weight="0.2"
|
||||
android:paddingTop="@dimen/dp_2"
|
||||
android:src="@mipmap/data2" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/smart_refresh_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
app:srlEnableLoadMore="true"
|
||||
app:srlEnableRefresh="true">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/revenue_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:background="@color/color_FFF5F5F5"
|
||||
android:orientation="vertical"
|
||||
tools:listitem="@layout/item_revenue" />
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/revenue_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:paddingBottom="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:background="@color/color_FFF5F5F5"
|
||||
android:orientation="vertical"
|
||||
tools:listitem="@layout/item_revenue" />
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:background="@color/transparent" />
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
Reference in New Issue
Block a user