Commit c4e6c113 authored by wanglei's avatar wanglei

...需同步到功能...

parent 2f9e3c89
......@@ -18,6 +18,7 @@ import com.base.superpdfreader.helps.PermissionHelp.requestStorePermission
import com.base.superpdfreader.view.DialogViews.showGerPermission
import com.base.superpdfreader.view.DocumentDetailDialog.showDocumentDetailDialog
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import java.io.File
......@@ -78,7 +79,11 @@ class DocumentListFragment() : BaseFragment<FragmentDocumentListBinding>() {
}
binding.swipeRefresh.setOnRefreshListener {
lifecycleScope.launch {
delay(2000)
binding.swipeRefresh.isRefreshing = false
initData()
}
}
}
......
......@@ -47,7 +47,8 @@ object DialogViews {
// .setFontSize(13, true)
// .setForegroundColor(0xFF999999.toInt())
// .create()
binding.idTvTt.text =
"We need access to your files in order to provide you with the ability to scan PDF and image files. The image files will be used to support the image to PDF conversion feature. Would you like to grant us permission to access your files?"
tittle?.let { binding.idTvTt.text = it }
binding.idFullLottie.imageAssetsFolder = "easy_permission_finger/images/"
binding.idFullLottie.setAnimation("easy_permission_finger/data.json")
......
......@@ -34,6 +34,7 @@
android:layout_marginHorizontal="15dp"
android:layout_marginTop="22dp"
android:layout_marginBottom="38dp"
android:gravity="center"
android:textSize="13sp" />
<com.airbnb.lottie.LottieAnimationView
......
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