Commit 67f8542d authored by wanglei's avatar wanglei

...

parent 2b4ad088
......@@ -15,7 +15,6 @@ import com.base.filerecoveryrecyclebin.activity.MainActivity
import com.base.filerecoveryrecyclebin.activity.SettingActivity
import com.base.filerecoveryrecyclebin.activity.appmanager.AppManagerAnimationActivity
import com.base.filerecoveryrecyclebin.activity.appprocess.AppProcessAnimationActivity
import com.base.filerecoveryrecyclebin.activity.battery.BatteryActivity
import com.base.filerecoveryrecyclebin.activity.battery.BatteryInfoAnimationActivity
import com.base.filerecoveryrecyclebin.activity.junkclean.ScanJunkActivity
import com.base.filerecoveryrecyclebin.activity.largefile.LargeFileAnimationActivity
......@@ -98,7 +97,8 @@ class HomeFragment : BaseFragment<FragmentHome3Binding>() {
}
binding.ivArrowUp.setOnClickListener {
binding.nestedScrollView.smoothScrollTo(0, 0)
val scrollDistance: Int = binding.nestedScrollView.getChildAt(0).height
binding.nestedScrollView.smoothScrollTo(0, scrollDistance)
}
}
......
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