deps: upgrade deps
constraintlayout -> 2.1.1 media -> 1.4.2 exoplayer -> 2.15.1
This commit is contained in:
parent
23399be0c3
commit
394327a2c4
2 changed files with 7 additions and 7 deletions
|
@ -69,7 +69,7 @@ dependencies {
|
||||||
|
|
||||||
// UI
|
// UI
|
||||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
||||||
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
|
implementation "androidx.constraintlayout:constraintlayout:2.1.1"
|
||||||
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
|
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
|
||||||
implementation "androidx.viewpager2:viewpager2:1.1.0-beta01"
|
implementation "androidx.viewpager2:viewpager2:1.1.0-beta01"
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ dependencies {
|
||||||
|
|
||||||
// Media
|
// Media
|
||||||
// TODO: Migrate to media2 when I can figure out how to use it
|
// TODO: Migrate to media2 when I can figure out how to use it
|
||||||
implementation "androidx.media:media:1.4.1"
|
implementation "androidx.media:media:1.4.2"
|
||||||
|
|
||||||
// Preferences
|
// Preferences
|
||||||
implementation "androidx.preference:preference-ktx:1.1.1"
|
implementation "androidx.preference:preference-ktx:1.1.1"
|
||||||
|
@ -94,7 +94,7 @@ dependencies {
|
||||||
// --- THIRD PARTY ---
|
// --- THIRD PARTY ---
|
||||||
|
|
||||||
// ExoPlayer
|
// ExoPlayer
|
||||||
implementation "com.google.android.exoplayer:exoplayer-core:2.15.0"
|
implementation "com.google.android.exoplayer:exoplayer-core:2.15.1"
|
||||||
|
|
||||||
// Image loading
|
// Image loading
|
||||||
implementation 'io.coil-kt:coil:1.3.2'
|
implementation 'io.coil-kt:coil:1.3.2'
|
||||||
|
|
|
@ -84,16 +84,16 @@ class HomeFragment : Fragment() {
|
||||||
binding.homeToolbar.apply {
|
binding.homeToolbar.apply {
|
||||||
setOnMenuItemClickListener { item ->
|
setOnMenuItemClickListener { item ->
|
||||||
when (item.itemId) {
|
when (item.itemId) {
|
||||||
|
R.id.action_search -> {
|
||||||
|
findNavController().navigate(HomeFragmentDirections.actionShowSearch())
|
||||||
|
}
|
||||||
|
|
||||||
R.id.action_settings -> {
|
R.id.action_settings -> {
|
||||||
parentFragment?.parentFragment?.findNavController()?.navigate(
|
parentFragment?.parentFragment?.findNavController()?.navigate(
|
||||||
MainFragmentDirections.actionShowSettings()
|
MainFragmentDirections.actionShowSettings()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
R.id.action_search -> {
|
|
||||||
findNavController().navigate(HomeFragmentDirections.actionShowSearch())
|
|
||||||
}
|
|
||||||
|
|
||||||
R.id.submenu_sorting -> { }
|
R.id.submenu_sorting -> { }
|
||||||
|
|
||||||
// Sorting option was selected, check then and update the mode
|
// Sorting option was selected, check then and update the mode
|
||||||
|
|
Loading…
Reference in a new issue