diff --git a/BaseModule/src/main/java/com/xscm/moduleutil/base/CommonAppContext.java b/BaseModule/src/main/java/com/xscm/moduleutil/base/CommonAppContext.java
index 5505fc02..170922cb 100644
--- a/BaseModule/src/main/java/com/xscm/moduleutil/base/CommonAppContext.java
+++ b/BaseModule/src/main/java/com/xscm/moduleutil/base/CommonAppContext.java
@@ -161,7 +161,7 @@ public class CommonAppContext extends MultiDexApplication implements Applicatio
//设置mqtt环境 false 测试环境 true 正式环境
// ExternalResConstants.INSTANCE.setIS_MQTT_RELEASE(false);
//设置http环境 false 测试环境 true 正式环境
- ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(false);
+ ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(true);
currentEnvironment = ExternalResConstants.INSTANCE.HTTP_PATH();
diff --git a/BaseModule/src/main/java/com/xscm/moduleutil/widget/RoomSingSongWheatView.java b/BaseModule/src/main/java/com/xscm/moduleutil/widget/RoomSingSongWheatView.java
index 651efa20..feb75ffb 100644
--- a/BaseModule/src/main/java/com/xscm/moduleutil/widget/RoomSingSongWheatView.java
+++ b/BaseModule/src/main/java/com/xscm/moduleutil/widget/RoomSingSongWheatView.java
@@ -12,7 +12,6 @@ import com.xscm.moduleutil.R;
import com.xscm.moduleutil.bean.UserInfo;
import com.xscm.moduleutil.bean.room.RoomPitBean;
import com.xscm.moduleutil.utils.ImageUtils;
-import com.xscm.moduleutil.utils.SpUtil;
/**
* @Author lxj$
diff --git a/BaseModule/src/main/res/layout/index_image_banner.xml b/BaseModule/src/main/res/layout/index_image_banner.xml
deleted file mode 100644
index c69b616a..00000000
--- a/BaseModule/src/main/res/layout/index_image_banner.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
\ No newline at end of file
diff --git a/BaseModule/src/main/res/layout/me_item_user_photo_wall.xml b/BaseModule/src/main/res/layout/me_item_user_photo_wall.xml
deleted file mode 100644
index 70e1d729..00000000
--- a/BaseModule/src/main/res/layout/me_item_user_photo_wall.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BaseModule/src/main/res/layout/room_view_sing_wheat.xml b/BaseModule/src/main/res/layout/room_view_sing_wheat.xml
index 0bcfd75d..5305f211 100644
--- a/BaseModule/src/main/res/layout/room_view_sing_wheat.xml
+++ b/BaseModule/src/main/res/layout/room_view_sing_wheat.xml
@@ -21,9 +21,9 @@
android:layout_marginTop="@dimen/dp_12"
android:layout_marginEnd="@dimen/dp_12"
android:adjustViewBounds="true"
- android:scaleType="center"
- app:layout_constraintDimensionRatio="1:1"
+ android:scaleType="fitCenter"
android:src="@mipmap/room_ic_wheat_default"
+ app:layout_constraintDimensionRatio="1:1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -58,7 +58,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
- app:loopCount="0" />
+ app:loopCount="0"
+ app:source="mic.svga" />
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintDimensionRatio="1:1"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHeight_percent="0.82"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ android:layout_marginTop="@dimen/dp_10"
+ app:loopCount="0"
+ tools:visibility="visible" />
implements ReleaseContract.View {
- UserPhotoWallAdapter mUserPhotoWallAdapter;
+ ShareWallAdapter mUserPhotoWallAdapter;
List list=new ArrayList<>();
private List uploadedUrls = new ArrayList<>();//真实图片地址
final int maxNum = 1200;
@@ -88,7 +88,7 @@ public class ReleaseActivity extends BaseMvpActivity 0) {
// 点击的是"+"'号,启动图片选择
@@ -176,7 +176,7 @@ public class ReleaseActivity extends BaseMvpActivity data) {
BottomSheetDialog dialog = new BottomSheetDialog(this);
- dialog.setContentView(com.xscm.moduleutil.R.layout.bottom_sheet_recyclerview);
+ dialog.setContentView(R.layout.bottom_album_recyclerview);
- RecyclerView recyclerView = dialog.findViewById(com.xscm.moduleutil.R.id.rv_options);
- View btnCancel = dialog.findViewById(com.xscm.moduleutil.R.id.btn_cancel);
- View btnConfirm = dialog.findViewById(com.xscm.moduleutil.R.id.btn_confirm);
- TextView tvTitle = dialog.findViewById(com.xscm.moduleutil.R.id.tv_title);
+ RecyclerView recyclerView = dialog.findViewById(R.id.rv_options);
+ View btnCancel = dialog.findViewById(R.id.btn_cancel);
+ View btnConfirm = dialog.findViewById(R.id.btn_confirm);
+ TextView tvTitle = dialog.findViewById(R.id.tv_title);
tvTitle.setText("选择相册");
assert recyclerView != null;
recyclerView.setLayoutManager(new GridLayoutManager(this, 4));
diff --git a/MainModule/src/main/java/com/xscm/modulemain/activity/user/fragment/VocalRangeFragment.java b/MainModule/src/main/java/com/xscm/modulemain/activity/user/fragment/VocalRangeFragment.java
index 1394a3f7..b7458086 100644
--- a/MainModule/src/main/java/com/xscm/modulemain/activity/user/fragment/VocalRangeFragment.java
+++ b/MainModule/src/main/java/com/xscm/modulemain/activity/user/fragment/VocalRangeFragment.java
@@ -392,7 +392,7 @@ public class VocalRangeFragment extends BaseMvpFragment bannerModels) {
- mBinding.banner.setBannerData(com.xscm.moduleutil.R.layout.index_image_banner, bannerModels);
+ mBinding.banner.setBannerData(R.layout.index_image_banner, bannerModels);
}
diff --git a/BaseModule/src/main/java/com/xscm/moduleutil/adapter/UserPhotoWallAdapter.java b/MainModule/src/main/java/com/xscm/modulemain/adapter/ShareWallAdapter.java
similarity index 91%
rename from BaseModule/src/main/java/com/xscm/moduleutil/adapter/UserPhotoWallAdapter.java
rename to MainModule/src/main/java/com/xscm/modulemain/adapter/ShareWallAdapter.java
index b71201b7..e8dac3a2 100644
--- a/BaseModule/src/main/java/com/xscm/moduleutil/adapter/UserPhotoWallAdapter.java
+++ b/MainModule/src/main/java/com/xscm/modulemain/adapter/ShareWallAdapter.java
@@ -1,16 +1,16 @@
-package com.xscm.moduleutil.adapter;
+package com.xscm.modulemain.adapter;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
-import com.xscm.moduleutil.R;
+import com.xscm.modulemain.R;
import com.xscm.moduleutil.utils.ImageUtils;
-public class UserPhotoWallAdapter extends BaseQuickAdapter {
+public class ShareWallAdapter extends BaseQuickAdapter {
private boolean b = false;
public static final String ADD_PHOTO = "ADD_PHOTO";
private int longClickPos = -1;
- public UserPhotoWallAdapter() {
+ public ShareWallAdapter() {
super(R.layout.me_item_user_photo_wall);
}
diff --git a/MainModule/src/main/java/com/xscm/modulemain/adapter/UserPhotoWallAdapter.java b/MainModule/src/main/java/com/xscm/modulemain/adapter/UserPhotoWallAdapter.java
index 1f97adc1..ef2a0e39 100644
--- a/MainModule/src/main/java/com/xscm/modulemain/adapter/UserPhotoWallAdapter.java
+++ b/MainModule/src/main/java/com/xscm/modulemain/adapter/UserPhotoWallAdapter.java
@@ -21,10 +21,10 @@ public class UserPhotoWallAdapter extends BaseQuickAdapter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MainModule/src/main/res/layout/item_gift_room.xml b/MainModule/src/main/res/layout/item_gift_room.xml
deleted file mode 100644
index f23f6fe6..00000000
--- a/MainModule/src/main/res/layout/item_gift_room.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MainModule/src/main/res/layout/room_view_default_wheat.xml b/MainModule/src/main/res/layout/room_view_default_wheat.xml
deleted file mode 100644
index c4581290..00000000
--- a/MainModule/src/main/res/layout/room_view_default_wheat.xml
+++ /dev/null
@@ -1,528 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MainModule/src/main/res/layout/room_view_friendship_wheat.xml b/MainModule/src/main/res/layout/room_view_friendship_wheat.xml
deleted file mode 100644
index 0181a088..00000000
--- a/MainModule/src/main/res/layout/room_view_friendship_wheat.xml
+++ /dev/null
@@ -1,275 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MainModule/src/main/res/layout/room_view_ktv_wheat.xml b/MainModule/src/main/res/layout/room_view_ktv_wheat.xml
deleted file mode 100644
index 435a835c..00000000
--- a/MainModule/src/main/res/layout/room_view_ktv_wheat.xml
+++ /dev/null
@@ -1,288 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MainModule/src/main/res/layout/room_view_make_wheat.xml b/MainModule/src/main/res/layout/room_view_make_wheat.xml
deleted file mode 100644
index 712cd0f7..00000000
--- a/MainModule/src/main/res/layout/room_view_make_wheat.xml
+++ /dev/null
@@ -1,231 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MainModule/src/main/res/layout/room_view_sing_wheat.xml b/MainModule/src/main/res/layout/room_view_sing_wheat.xml
deleted file mode 100644
index 32f6c81a..00000000
--- a/MainModule/src/main/res/layout/room_view_sing_wheat.xml
+++ /dev/null
@@ -1,273 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file