Commit 8f521e21 authored by wanglei's avatar wanglei

...

parent 54ffa893
...@@ -306,8 +306,6 @@ object NotificationUiUtil { ...@@ -306,8 +306,6 @@ object NotificationUiUtil {
} }
val looper_actionId = listOf( val looper_actionId = listOf(
NOTIFICATION_ACTION_CLEAN_JUNK,
NOTIFICATION_ACTION_READ_PDF, NOTIFICATION_ACTION_READ_PDF,
NOTIFICATION_ACTION_READ_DOCUMENTS, NOTIFICATION_ACTION_READ_DOCUMENTS,
NOTIFICATION_ACTION_UN_VIEW_FILES, NOTIFICATION_ACTION_UN_VIEW_FILES,
......
...@@ -16,6 +16,7 @@ import com.base.pdfviewerscannerwhite.bean.ConstObject.DO_SPLIT_PDF ...@@ -16,6 +16,7 @@ import com.base.pdfviewerscannerwhite.bean.ConstObject.DO_SPLIT_PDF
import com.base.pdfviewerscannerwhite.bean.ConstObject.DO_UNLOCK_PDF import com.base.pdfviewerscannerwhite.bean.ConstObject.DO_UNLOCK_PDF
import com.base.pdfviewerscannerwhite.databinding.FragmentToolBinding import com.base.pdfviewerscannerwhite.databinding.FragmentToolBinding
import com.base.pdfviewerscannerwhite.helper.BaseFragment import com.base.pdfviewerscannerwhite.helper.BaseFragment
import com.base.pdfviewerscannerwhite.helper.WeatherUtils
import com.base.pdfviewerscannerwhite.ui.appprocess.AppProcessActivity import com.base.pdfviewerscannerwhite.ui.appprocess.AppProcessActivity
import com.base.pdfviewerscannerwhite.ui.cleanjunk.ScanJunkActivity import com.base.pdfviewerscannerwhite.ui.cleanjunk.ScanJunkActivity
import com.base.pdfviewerscannerwhite.ui.document.pdf.PdfActivity import com.base.pdfviewerscannerwhite.ui.document.pdf.PdfActivity
...@@ -43,7 +44,12 @@ class ToolFragment : BaseFragment<FragmentToolBinding>() { ...@@ -43,7 +44,12 @@ class ToolFragment : BaseFragment<FragmentToolBinding>() {
FragmentToolBinding.inflate(layoutInflater) FragmentToolBinding.inflate(layoutInflater)
} }
@SuppressLint("SetTextI18n")
override fun setView() { override fun setView() {
val bean = WeatherUtils.getWeatherEntity()?.list?.get(0)
bean?.let {
binding.tvWendu.text = (it.tempMax.toInt() + it.tempMin.toInt() / 2).toString()
}
} }
override fun setListener() { override fun setListener() {
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
app:layout_constraintTop_toTopOf="@id/tv_tittle"> app:layout_constraintTop_toTopOf="@id/tv_tittle">
<TextView <TextView
android:id="@+id/tv_wendu"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment