|
|
@ -224,11 +224,11 @@ class SourceEditActivity : BaseActivity<SourceEditViewModel>(false), KeyboardToo |
|
|
|
with(entity) { |
|
|
|
with(entity) { |
|
|
|
when (key) { |
|
|
|
when (key) { |
|
|
|
"searchUrl" -> searchRule.searchUrl = value |
|
|
|
"searchUrl" -> searchRule.searchUrl = value |
|
|
|
"searchList" -> searchRule.bookList = value |
|
|
|
"bookList" -> searchRule.bookList = value |
|
|
|
"searchName" -> searchRule.name = value |
|
|
|
"name" -> searchRule.name = value |
|
|
|
"searchAuthor" -> searchRule.author = value |
|
|
|
"author" -> searchRule.author = value |
|
|
|
"searchKind" -> searchRule.kind = value |
|
|
|
"kind" -> searchRule.kind = value |
|
|
|
"searchIntro" -> searchRule.intro = value |
|
|
|
"intro" -> searchRule.intro = value |
|
|
|
"updateTime" -> searchRule.updateTime = value |
|
|
|
"updateTime" -> searchRule.updateTime = value |
|
|
|
"wordCount" -> searchRule.wordCount = value |
|
|
|
"wordCount" -> searchRule.wordCount = value |
|
|
|
"lastChapter" -> searchRule.lastChapter = value |
|
|
|
"lastChapter" -> searchRule.lastChapter = value |
|
|
@ -241,11 +241,11 @@ class SourceEditActivity : BaseActivity<SourceEditViewModel>(false), KeyboardToo |
|
|
|
with(entity) { |
|
|
|
with(entity) { |
|
|
|
when (key) { |
|
|
|
when (key) { |
|
|
|
"exploreUrl" -> exploreRule.exploreUrl = value |
|
|
|
"exploreUrl" -> exploreRule.exploreUrl = value |
|
|
|
"searchList" -> exploreRule.bookList = value |
|
|
|
"bookList" -> exploreRule.bookList = value |
|
|
|
"searchName" -> exploreRule.name = value |
|
|
|
"name" -> exploreRule.name = value |
|
|
|
"searchAuthor" -> exploreRule.author = value |
|
|
|
"author" -> exploreRule.author = value |
|
|
|
"searchKind" -> exploreRule.kind = value |
|
|
|
"kind" -> exploreRule.kind = value |
|
|
|
"searchIntro" -> exploreRule.intro = value |
|
|
|
"intro" -> exploreRule.intro = value |
|
|
|
"updateTime" -> exploreRule.updateTime = value |
|
|
|
"updateTime" -> exploreRule.updateTime = value |
|
|
|
"wordCount" -> exploreRule.wordCount = value |
|
|
|
"wordCount" -> exploreRule.wordCount = value |
|
|
|
"lastChapter" -> exploreRule.lastChapter = value |
|
|
|
"lastChapter" -> exploreRule.lastChapter = value |
|
|
@ -258,10 +258,10 @@ class SourceEditActivity : BaseActivity<SourceEditViewModel>(false), KeyboardToo |
|
|
|
with(entity) { |
|
|
|
with(entity) { |
|
|
|
when (key) { |
|
|
|
when (key) { |
|
|
|
"init" -> bookInfoRule.init = value |
|
|
|
"init" -> bookInfoRule.init = value |
|
|
|
"searchName" -> bookInfoRule.name = value |
|
|
|
"name" -> bookInfoRule.name = value |
|
|
|
"searchAuthor" -> bookInfoRule.author = value |
|
|
|
"author" -> bookInfoRule.author = value |
|
|
|
"searchKind" -> bookInfoRule.kind = value |
|
|
|
"kind" -> bookInfoRule.kind = value |
|
|
|
"searchIntro" -> bookInfoRule.intro = value |
|
|
|
"intro" -> bookInfoRule.intro = value |
|
|
|
"updateTime" -> bookInfoRule.updateTime = value |
|
|
|
"updateTime" -> bookInfoRule.updateTime = value |
|
|
|
"wordCount" -> bookInfoRule.wordCount = value |
|
|
|
"wordCount" -> bookInfoRule.wordCount = value |
|
|
|
"lastChapter" -> bookInfoRule.lastChapter = value |
|
|
|
"lastChapter" -> bookInfoRule.lastChapter = value |
|
|
|