|
|
@ -14,7 +14,6 @@ import android.view.ViewGroup.LayoutParams.WRAP_CONTENT |
|
|
|
import androidx.core.view.get |
|
|
|
import androidx.core.view.get |
|
|
|
import androidx.core.view.isVisible |
|
|
|
import androidx.core.view.isVisible |
|
|
|
import androidx.core.view.size |
|
|
|
import androidx.core.view.size |
|
|
|
import androidx.lifecycle.Observer |
|
|
|
|
|
|
|
import com.jaredrummler.android.colorpicker.ColorPickerDialogListener |
|
|
|
import com.jaredrummler.android.colorpicker.ColorPickerDialogListener |
|
|
|
import io.legado.app.BuildConfig |
|
|
|
import io.legado.app.BuildConfig |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.R |
|
|
@ -108,11 +107,11 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo |
|
|
|
initView() |
|
|
|
initView() |
|
|
|
upScreenTimeOut() |
|
|
|
upScreenTimeOut() |
|
|
|
ReadBook.callBack = this |
|
|
|
ReadBook.callBack = this |
|
|
|
ReadBook.titleDate.observe(this, Observer { |
|
|
|
ReadBook.titleDate.observe(this) { |
|
|
|
title_bar.title = it |
|
|
|
title_bar.title = it |
|
|
|
upMenu() |
|
|
|
upMenu() |
|
|
|
upView() |
|
|
|
upView() |
|
|
|
}) |
|
|
|
} |
|
|
|
viewModel.initData(intent) |
|
|
|
viewModel.initData(intent) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|