|
|
@ -39,7 +39,9 @@ import io.legado.app.utils.showDialogFragment |
|
|
|
import io.legado.app.utils.toastOnUi |
|
|
|
import io.legado.app.utils.toastOnUi |
|
|
|
import io.legado.app.utils.viewbindingdelegate.viewBinding |
|
|
|
import io.legado.app.utils.viewbindingdelegate.viewBinding |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 主界面 |
|
|
|
|
|
|
|
*/ |
|
|
|
class MainActivity : VMBaseActivity<ActivityMainBinding, MainViewModel>(), |
|
|
|
class MainActivity : VMBaseActivity<ActivityMainBinding, MainViewModel>(), |
|
|
|
BottomNavigationView.OnNavigationItemSelectedListener, |
|
|
|
BottomNavigationView.OnNavigationItemSelectedListener, |
|
|
|
BottomNavigationView.OnNavigationItemReselectedListener { |
|
|
|
BottomNavigationView.OnNavigationItemReselectedListener { |
|
|
|