From 4ce13fb5927e6e7feb3b48932be4693e6260ca03 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 15 Aug 2019 10:27:41 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/changesource/ChangeSourceDialog.kt | 1 + .../io/legado/app/ui/changesource/ChangeSourceViewModel.kt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt index bb9f8ab67..b34cef9cc 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt @@ -52,6 +52,7 @@ class ChangeSourceDialog : DialogFragment() { showTitle() initRecyclerView() initSearchView() + viewModel.startSearch() } override fun onStart() { diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt index d5e36c5e3..218a4868f 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt @@ -8,4 +8,8 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio var name: String = "" var author: String = "" + + fun startSearch() { + + } } \ No newline at end of file