From 5f33fa38f68a38fcf4c6142d1c00ed2bcb26fa20 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Mon, 26 Jun 2023 10:24:19 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=A6=81=E8=A8=80=E5=BC=B9=E6=A1=86ui?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/main/activity/RedPacketActivity.java | 12 ++++++++++++ main/src/main/res/layout/activity_red_packet.xml | 1 + 2 files changed, 13 insertions(+) diff --git a/main/src/main/java/com/yunbao/main/activity/RedPacketActivity.java b/main/src/main/java/com/yunbao/main/activity/RedPacketActivity.java index 858b7bce3..4de98d450 100644 --- a/main/src/main/java/com/yunbao/main/activity/RedPacketActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/RedPacketActivity.java @@ -1,11 +1,23 @@ package com.yunbao.main.activity; +import android.widget.TextView; + +import androidx.recyclerview.widget.RecyclerView; + import com.yunbao.common.activity.AbsActivity; import com.yunbao.main.R; public class RedPacketActivity extends AbsActivity { + private RecyclerView recyclerView; @Override protected int getLayoutId() { return R.layout.activity_red_packet; } + + @Override + public void init() { + super.init(); + ((TextView)findViewById(R.id.titleView)).setText("紅包記錄"); + recyclerView=findViewById(R.id.recyclerView); + } } diff --git a/main/src/main/res/layout/activity_red_packet.xml b/main/src/main/res/layout/activity_red_packet.xml index 34a60a41d..19ed25a3b 100644 --- a/main/src/main/res/layout/activity_red_packet.xml +++ b/main/src/main/res/layout/activity_red_packet.xml @@ -25,6 +25,7 @@ app:layout_constraintTop_toBottomOf="@+id/include3" />