From 5c0e0745c632f2953e0c57dcaa17bd3c513286c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?v=5Fvweisun=28=E5=AD=99=E4=BC=9F=29?= <532125505@qq.com> Date: Wed, 9 Sep 2020 12:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E6=8E=89=E5=81=87=E7=9A=84we?= =?UTF-8?q?ather=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I142e679b28a0f6a2038e4fa396b6c8fc7d974a3d --- .../kitlink/holder/HomeHeadViewHolder1.kt | 4 ++-- .../kitlink/holder/HomeHeadViewHolder2.kt | 4 ++-- app/src/main/res/layout/head_home1.xml | 20 +++++++++---------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder1.kt b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder1.kt index a92ba7f11..d98d3bea7 100644 --- a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder1.kt +++ b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder1.kt @@ -18,8 +18,8 @@ class HomeHeadViewHolder1 : CRecyclerView.HeadViewHolder { override fun show() { weatherEntity?.let { - itemView.tv_weather_number.text = it.number - itemView.tv_weather.text = it.weather +// itemView.tv_weather_number.text = it.number +// itemView.tv_weather.text = it.weather } App.data.getCurrentFamily()?.let { itemView.tv_home_name.text = it.FamilyName diff --git a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder2.kt b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder2.kt index d5d6a213c..c43881731 100644 --- a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder2.kt +++ b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/holder/HomeHeadViewHolder2.kt @@ -18,8 +18,8 @@ class HomeHeadViewHolder2 : CRecyclerView.HeadViewHolder { override fun show() { weatherEntity?.let { - itemView.tv_weather_number.text = it.number - itemView.tv_weather.text = it.weather +// itemView.tv_weather_number.text = it.number +// itemView.tv_weather.text = it.weather } App.data.getCurrentFamily().let { itemView.tv_home_name.text = it.FamilyName diff --git a/app/src/main/res/layout/head_home1.xml b/app/src/main/res/layout/head_home1.xml index eb11d4969..86f44da93 100644 --- a/app/src/main/res/layout/head_home1.xml +++ b/app/src/main/res/layout/head_home1.xml @@ -2,7 +2,7 @@ + android:layout_height="54dp"> - + + + + + + + +