修复BUG
This commit is contained in:
parent
beace99a80
commit
4f44278561
@ -421,7 +421,7 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
|
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapan\app\proguard-rules.pro
|
# End of content from D:\AndroidProject\pandorapan\app\proguard-rules.pro
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_testRelease\processLink_testReleaseResources\aapt_rules.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\google_testRelease\processGoogle_testReleaseResources\aapt_rules.txt
|
||||||
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
||||||
-keep class androidx.core.content.FileProvider { <init>(); }
|
-keep class androidx.core.content.FileProvider { <init>(); }
|
||||||
-keep class androidx.core.content.FileProvider4Utils { <init>(); }
|
-keep class androidx.core.content.FileProvider4Utils { <init>(); }
|
||||||
@ -1094,10 +1094,10 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
-keepclassmembers class * { *** videoEditClick(android.view.View); }
|
-keepclassmembers class * { *** videoEditClick(android.view.View); }
|
||||||
|
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_testRelease\processLink_testReleaseResources\aapt_rules.txt
|
# End of content from D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\google_testRelease\processGoogle_testReleaseResources\aapt_rules.txt
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
# End of content from D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt
|
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt
|
||||||
# Generated keep rule for Lifecycle observer adapter.
|
# Generated keep rule for Lifecycle observer adapter.
|
||||||
-if class com.lxj.xpopup.core.BasePopupView {
|
-if class com.lxj.xpopup.core.BasePopupView {
|
||||||
@ -1157,9 +1157,9 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
|
|
||||||
|
|
||||||
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt
|
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
# End of content from D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt
|
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt
|
||||||
-keepattributes *Annotation*
|
-keepattributes *Annotation*
|
||||||
|
|
||||||
|
@ -419,6 +419,9 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
ViewClicksAntiShake.clicksAntiShake(liveGiftSend, new ViewClicksAntiShake.ViewClicksCallBack() {
|
ViewClicksAntiShake.clicksAntiShake(liveGiftSend, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
|
if(!liveGiftSend.isSelected()){
|
||||||
|
return;
|
||||||
|
}
|
||||||
MobclickAgent.onEvent(mContext, "gif_list_seed_gif", "用户送礼物");
|
MobclickAgent.onEvent(mContext, "gif_list_seed_gif", "用户送礼物");
|
||||||
|
|
||||||
if (liveGiftModel != null && liveGiftModel.getBlindBoxTicket() > 0) {
|
if (liveGiftModel != null && liveGiftModel.getBlindBoxTicket() > 0) {
|
||||||
@ -536,7 +539,7 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
ViewClicksAntiShake.clicksAntiShake(giftSendBgV, new ViewClicksAntiShake.ViewClicksCallBack() {
|
ViewClicksAntiShake.clicksAntiShake(giftSendBgV, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
if (liveGiftModel.getType() == 7 || isWrap) return;
|
if (liveGiftModel.getType() == 7 ) return;
|
||||||
new XPopup.Builder(getContext())
|
new XPopup.Builder(getContext())
|
||||||
.enableDrag(false)
|
.enableDrag(false)
|
||||||
.asCustom(new GiftNumberPopup(getContext()))
|
.asCustom(new GiftNumberPopup(getContext()))
|
||||||
@ -922,9 +925,9 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
continuousClickGroup.setVisibility(View.INVISIBLE);
|
continuousClickGroup.setVisibility(View.INVISIBLE);
|
||||||
giftSendGroup.setVisibility(View.VISIBLE);
|
giftSendGroup.setVisibility(View.VISIBLE);
|
||||||
liveGiftSend.setSelected(true);
|
liveGiftSend.setSelected(true);
|
||||||
if (isWrap){
|
// if (isWrap){
|
||||||
liveGiftImg.setVisibility(View.INVISIBLE);
|
// liveGiftImg.setVisibility(View.INVISIBLE);
|
||||||
}
|
// }
|
||||||
continuousClicksBg.removeCallbacks(newLianSongRunnable);
|
continuousClicksBg.removeCallbacks(newLianSongRunnable);
|
||||||
getCoin();
|
getCoin();
|
||||||
if (liveGiftModel != null) {
|
if (liveGiftModel != null) {
|
||||||
@ -1298,9 +1301,7 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
liveGiftSend.setEnabled(true);
|
liveGiftSend.setEnabled(true);
|
||||||
giftSendGroup.setVisibility(View.VISIBLE);
|
giftSendGroup.setVisibility(View.VISIBLE);
|
||||||
liveGiftSend.setSelected(true);
|
liveGiftSend.setSelected(true);
|
||||||
if (isWrap){
|
|
||||||
liveGiftImg.setVisibility(View.INVISIBLE);
|
|
||||||
}
|
|
||||||
mCount = DEFAULT_COUNT;
|
mCount = DEFAULT_COUNT;
|
||||||
liveGiftSendTv.setText(mCount);
|
liveGiftSendTv.setText(mCount);
|
||||||
if (giftSendGroup.getVisibility() == View.INVISIBLE) {
|
if (giftSendGroup.getVisibility() == View.INVISIBLE) {
|
||||||
@ -1320,7 +1321,10 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
} else {
|
} else {
|
||||||
operateImage.setVisibility(View.GONE);
|
operateImage.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
hideLianBtn();
|
//hideLianBtn();
|
||||||
|
if (liveGiftModel.getType() == 7) {
|
||||||
|
liveGiftImg.setVisibility(View.INVISIBLE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
|
@ -120,7 +120,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
outRankHide = GsonUtils.fromJson(outRankHideString, new TypeToken<List<String>>() {
|
outRankHide = GsonUtils.fromJson(outRankHideString, new TypeToken<List<String>>() {
|
||||||
}.getType());
|
}.getType());
|
||||||
if (userMoreInfoAdapter != null) {
|
if (userMoreInfoAdapter != null) {
|
||||||
|
|
||||||
userMoreInfoAdapter.setHide(outRankHide);
|
userMoreInfoAdapter.setHide(outRankHide);
|
||||||
}
|
}
|
||||||
title = mRootView.findViewById(R.id.title);
|
title = mRootView.findViewById(R.id.title);
|
||||||
@ -376,7 +375,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
if (userMoreInfoAdapter != null) {
|
if (userMoreInfoAdapter != null) {
|
||||||
userMoreInfoAdapter.setHide(outRankHide);
|
userMoreInfoAdapter.setHide(outRankHide);
|
||||||
}
|
}
|
||||||
bottom_msg.setVisibility(View.VISIBLE);
|
//bottom_msg.setVisibility(View.VISIBLE);
|
||||||
mRefreshView.setVisibility(View.VISIBLE);
|
mRefreshView.setVisibility(View.VISIBLE);
|
||||||
title.setVisibility(View.GONE);
|
title.setVisibility(View.GONE);
|
||||||
noMoreText.setVisibility(View.GONE);
|
noMoreText.setVisibility(View.GONE);
|
||||||
@ -384,7 +383,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
params.bottomMargin = DpUtil.dp2px(65);
|
params.bottomMargin = DpUtil.dp2px(65);
|
||||||
if(Tips.equals("1")){
|
if(Tips.equals("1")){
|
||||||
if (noble){
|
if (noble){
|
||||||
bottom_msg.setVisibility(View.GONE);
|
//bottom_msg.setVisibility(View.GONE);
|
||||||
tags.setText(R.string.enjoy_a_lot);
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
btn.setText(R.string.live_ktgz);
|
btn.setText(R.string.live_ktgz);
|
||||||
@ -393,7 +392,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
type = "guanzhong";
|
type = "guanzhong";
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
bottom_msg.setVisibility(View.GONE);
|
//bottom_msg.setVisibility(View.GONE);
|
||||||
tags.setText(R.string.enjoy_a_lot);
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
btn.setText(R.string.live_ktgz);
|
btn.setText(R.string.live_ktgz);
|
||||||
|
@ -2251,10 +2251,24 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
//点击的消息发送出去
|
//点击的消息发送出去
|
||||||
((LiveActivity) mContext).sendChatMessage(msg, null, null);
|
((LiveActivity) mContext).sendChatMessage(msg, null, null);
|
||||||
fastMsgRecyclerView.setVisibility(View.GONE);
|
fastMsgRecyclerView.setVisibility(View.GONE);
|
||||||
|
RelativeLayout.LayoutParams params4 = (RelativeLayout.LayoutParams) live_bottom_layout.getLayoutParams();
|
||||||
|
if(isAnchorLive()){
|
||||||
|
params1.bottomMargin = 0;
|
||||||
|
params4.bottomMargin = 0;
|
||||||
|
}else {
|
||||||
|
params1.bottomMargin = DpUtil.dp2px(10);
|
||||||
|
params4.bottomMargin = DpUtil.dp2px(10);
|
||||||
|
}
|
||||||
|
mChatRecyclerView.setLayoutParams(params1);
|
||||||
|
live_bottom_layout.setLayoutParams(params4);
|
||||||
|
|
||||||
params1.bottomMargin = DpUtil.dp2px(10);
|
params1.bottomMargin = DpUtil.dp2px(10);
|
||||||
mChatRecyclerView.setLayoutParams(params1);
|
mChatRecyclerView.setLayoutParams(params1);
|
||||||
|
|
||||||
RelativeLayout.LayoutParams params2 = (RelativeLayout.LayoutParams) newMessage.getLayoutParams();
|
RelativeLayout.LayoutParams params2 = (RelativeLayout.LayoutParams) newMessage.getLayoutParams();
|
||||||
RelativeLayout.LayoutParams params3 = (RelativeLayout.LayoutParams) atMessage.getLayoutParams();
|
RelativeLayout.LayoutParams params3 = (RelativeLayout.LayoutParams) atMessage.getLayoutParams();
|
||||||
|
|
||||||
|
|
||||||
if (newMessage.getVisibility() == View.VISIBLE) {
|
if (newMessage.getVisibility() == View.VISIBLE) {
|
||||||
params2.bottomMargin = DpUtil.dp2px(8);
|
params2.bottomMargin = DpUtil.dp2px(8);
|
||||||
if (atMessage.getVisibility() == View.VISIBLE) {
|
if (atMessage.getVisibility() == View.VISIBLE) {
|
||||||
|
@ -146,6 +146,7 @@
|
|||||||
android:id="@+id/bottom_msg"
|
android:id="@+id/bottom_msg"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="65dp"
|
android:layout_height="65dp"
|
||||||
|
android:visibility="gone"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:background="#161616">
|
android:background="#161616">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user