Update libraries
Update Coil/Android libraries
This commit is contained in:
parent
f1245d7d40
commit
2b24d6661e
4 changed files with 8 additions and 7 deletions
|
@ -62,8 +62,8 @@ dependencies {
|
||||||
|
|
||||||
// General
|
// General
|
||||||
implementation 'androidx.core:core-ktx:1.3.2'
|
implementation 'androidx.core:core-ktx:1.3.2'
|
||||||
implementation 'androidx.activity:activity-ktx:1.2.0-rc01'
|
implementation 'androidx.activity:activity-ktx:1.3.0-alpha02'
|
||||||
implementation 'androidx.fragment:fragment-ktx:1.3.0-rc02'
|
implementation 'androidx.fragment:fragment-ktx:1.3.0'
|
||||||
|
|
||||||
// Layout
|
// Layout
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||||
|
@ -93,10 +93,10 @@ dependencies {
|
||||||
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
|
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
|
||||||
|
|
||||||
// Image loading
|
// Image loading
|
||||||
implementation 'io.coil-kt:coil:1.1.0'
|
implementation 'io.coil-kt:coil:1.1.1'
|
||||||
|
|
||||||
// Material
|
// Material
|
||||||
implementation 'com.google.android.material:material:1.3.0-rc01'
|
implementation 'com.google.android.material:material:1.3.0'
|
||||||
|
|
||||||
// Fast-Scroll
|
// Fast-Scroll
|
||||||
implementation 'com.reddit:indicator-fast-scroll:1.3.0'
|
implementation 'com.reddit:indicator-fast-scroll:1.3.0'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><!--
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
Animated icons derived from noice
|
Animated icons derived from noice
|
||||||
https://github.com/ashutoshgngwr/noice/
|
https://github.com/ashutoshgngwr/noice/
|
||||||
|
FIXME: Possible issue where a seam will appear on these icons at a certain size
|
||||||
-->
|
-->
|
||||||
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
|
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:aapt="http://schemas.android.com/aapt"
|
xmlns:aapt="http://schemas.android.com/aapt"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
ext.kotlin_version = "1.4.21"
|
ext.kotlin_version = '1.4.30'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
|
|
@ -59,10 +59,10 @@ org.oxycblt.auxio # Main UI's and logging utilities
|
||||||
|
|
||||||
[Coil](https://github.com/coil-kt/coil) is the image loader used by Auxio. All image loading is done through these four functions/binding adapters:
|
[Coil](https://github.com/coil-kt/coil) is the image loader used by Auxio. All image loading is done through these four functions/binding adapters:
|
||||||
|
|
||||||
- `app:coverArt`: Binding Adapter that will load the cover art for a song or album
|
- `app:albumArt`: Binding Adapter that will load the cover art for a song or album
|
||||||
- `app:artistImage`: Binding Adapter that will load the artist image
|
- `app:artistImage`: Binding Adapter that will load the artist image
|
||||||
- `app:genreImage`: Binding Adapter that will load the genre image
|
- `app:genreImage`: Binding Adapter that will load the genre image
|
||||||
- `getBitmap`: Function that will take a song and return a bitmap, this should not be used in anything UI related, that is what the binding adapters above are for.
|
- `loadBitmap`: Function that will take a song and return a bitmap, this should not be used in anything UI related, that is what the binding adapters above are for.
|
||||||
|
|
||||||
This should be enough to cover most use cases in Auxio. There are also fetchers for artist/genre images and album covers, but these are not used outside of the module.
|
This should be enough to cover most use cases in Auxio. There are also fetchers for artist/genre images and album covers, but these are not used outside of the module.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue