mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-19 18:06:29 +08:00
add epg
This commit is contained in:
@@ -57,7 +57,6 @@ class MainActivity : FragmentActivity(), Request.RequestListener {
|
||||
|
||||
setContentView(R.layout.activity_main)
|
||||
|
||||
Request.onCreate()
|
||||
Request.setRequestListener(this)
|
||||
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
|
||||
@@ -191,7 +190,7 @@ class MainActivity : FragmentActivity(), Request.RequestListener {
|
||||
fun fragmentReady() {
|
||||
ready++
|
||||
Log.i(TAG, "ready $ready")
|
||||
if (ready == 6) {
|
||||
if (ready == 5) {
|
||||
mainFragment.fragmentReady()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user