|
|
@ -246,7 +246,7 @@ class ImportBookActivity : VMBaseActivity<ActivityImportBookBinding, ImportBookV |
|
|
|
|
|
|
|
|
|
|
|
private fun alertImportFileName() { |
|
|
|
private fun alertImportFileName() { |
|
|
|
alert(R.string.import_file_name) { |
|
|
|
alert(R.string.import_file_name) { |
|
|
|
setMessage("""使用js返回一个json结构,{"name":"xxx", "author":"yyy"}""") |
|
|
|
setMessage("""使用js处理文件名变量src返回一个json结构,{"name":"xxx", "author":"yyy"}""") |
|
|
|
val alertBinding = DialogEditTextBinding.inflate(layoutInflater).apply { |
|
|
|
val alertBinding = DialogEditTextBinding.inflate(layoutInflater).apply { |
|
|
|
editView.hint = "js" |
|
|
|
editView.hint = "js" |
|
|
|
editView.setText(AppConfig.bookImportFileName) |
|
|
|
editView.setText(AppConfig.bookImportFileName) |
|
|
|