Commit 32ebc159 authored by wanglei's avatar wanglei

...

parent f347e4f7
......@@ -24,7 +24,7 @@ class JunkExpandAdapter(private val chooseAction: (size: Long) -> Unit) : Expand
private val parentBeanList by lazy {
mutableListOf(
ParentBean(
title = "Empty folder",
title = "Residual file",
isParentSelected = true,
expanded = false
),
......@@ -84,7 +84,7 @@ class JunkExpandAdapter(private val chooseAction: (size: Long) -> Unit) : Expand
} else {
viewHolder.binding.idXiala.setImageResource(R.mipmap.shouqi)
}
if (parentBean.title == "Empty folder") {
if (parentBean.title == "Residual file") {
viewHolder.binding.idTypeSize.text = parentBean.childItem.size.toString() + " items"
} else {
viewHolder.binding.idTypeSize.text = parentBean.parentSize.toFormatSize(1)
......
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