Commit f3631a1f authored by wanglei's avatar wanglei

...

parent eaa50d0c
......@@ -30,7 +30,6 @@ import com.base.pdfviewerscannerwhite.utils.LogEx
import com.base.pdfviewerscannerwhite.utils.SpStringUtils
import com.base.pdfviewerscannerwhite.utils.SpStringUtils.BOOKMARK_KEY
import com.base.pdfviewerscannerwhite.utils.SpStringUtils.LAST_VIEW_KEY
import com.base.pdfviewerscannerwhite.utils.ToastUtils.toast
import com.base.pdfviewerscannerwhite.utils.getMediaFile
import com.base.pdfviewerscannerwhite.utils.upDateDemoStore
import com.base.pdfviewerscannerwhite.utils.updateMediaStore
......@@ -101,7 +100,7 @@ class MainPresenter(
fun getDataByType(documentType: String, dataType: String): List<DocumentBean> {
val bookmarkList = SpStringUtils.getSpStringList(SpStringUtils.BOOKMARK_KEY)
val bookmarkList = SpStringUtils.getSpStringList(BOOKMARK_KEY)
Log.d("glc", "pdfDocuments:" + pdfDocuments.size)
val recentList = SpStringUtils.getSpStringList(LAST_VIEW_KEY)
......@@ -398,7 +397,7 @@ class MainPresenter(
}
}
} catch (e: Exception) {
e.printStackTrace()
}
launch(Dispatchers.Main) {
documentPageFragment.refreshData()
......
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