From 695c28db0206b1cf83c541b9a9a3141b28d89ccf Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Mon, 14 Oct 2024 09:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=B8=80=E6=B3=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/viewmodel/LivePositionViewModel.java | 15 +++++++++++++++ live/src/main/res/layout/view_live_room.xml | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 live/src/main/java/com/yunbao/live/viewmodel/LivePositionViewModel.java diff --git a/live/src/main/java/com/yunbao/live/viewmodel/LivePositionViewModel.java b/live/src/main/java/com/yunbao/live/viewmodel/LivePositionViewModel.java new file mode 100644 index 000000000..a89c91189 --- /dev/null +++ b/live/src/main/java/com/yunbao/live/viewmodel/LivePositionViewModel.java @@ -0,0 +1,15 @@ +package com.yunbao.live.viewmodel; + +import androidx.lifecycle.ViewModel; + +import com.yunbao.common.utils.SpUtil; + +//直播时候位置做的 viewModel 注意这里 +public class LivePositionViewModel extends ViewModel { + + +} + + + + diff --git a/live/src/main/res/layout/view_live_room.xml b/live/src/main/res/layout/view_live_room.xml index 62ad0dd64..aed9547e1 100644 --- a/live/src/main/res/layout/view_live_room.xml +++ b/live/src/main/res/layout/view_live_room.xml @@ -2516,7 +2516,6 @@ android:layout_height="27.33dp" android:layout_alignParentBottom="true" android:layout_marginStart="10dp" - android:visibility="gone" />