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 import com.google.android.exoplayer2.ExoPlayer class MainActivity : AppCompatActivity() { lateinit var exoPlayer:ExoPlayer override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) val bottomNavigationView = findViewById(R.id.bottomNav) val navController = findNavController(R.id.fragment) bottomNavigationView.setupWithNavController(navController) } }