mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-16 07:10:29 +05:30
972d1497a3
next is exoplayer damn it
21 lines
761 B
Kotlin
21 lines
761 B
Kotlin
package xyz.btcland.libretube
|
|
|
|
import androidx.appcompat.app.AppCompatActivity
|
|
import android.os.Bundle
|
|
import android.widget.FrameLayout
|
|
import androidx.fragment.app.Fragment
|
|
import com.google.android.material.bottomnavigation.BottomNavigationView
|
|
import androidx.navigation.findNavController
|
|
import androidx.navigation.ui.setupWithNavController
|
|
|
|
class MainActivity : AppCompatActivity() {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
setContentView(R.layout.activity_main)
|
|
val bottomNavigationView = findViewById<BottomNavigationView>(R.id.bottomNav)
|
|
val navController = findNavController(R.id.fragment)
|
|
bottomNavigationView.setupWithNavController(navController)
|
|
|
|
|
|
}
|
|
} |