Update libraries

Update Coil/Android libraries
This commit is contained in:
OxygenCobalt 2021-02-13 10:37:34 -07:00
parent f1245d7d40
commit 2b24d6661e
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
4 changed files with 8 additions and 7 deletions

View file

@ -62,8 +62,8 @@ dependencies {
// General
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.activity:activity-ktx:1.2.0-rc01'
implementation 'androidx.fragment:fragment-ktx:1.3.0-rc02'
implementation 'androidx.activity:activity-ktx:1.3.0-alpha02'
implementation 'androidx.fragment:fragment-ktx:1.3.0'
// Layout
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
@ -93,10 +93,10 @@ dependencies {
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
// Image loading
implementation 'io.coil-kt:coil:1.1.0'
implementation 'io.coil-kt:coil:1.1.1'
// Material
implementation 'com.google.android.material:material:1.3.0-rc01'
implementation 'com.google.android.material:material:1.3.0'
// Fast-Scroll
implementation 'com.reddit:indicator-fast-scroll:1.3.0'

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?><!--
Animated icons derived from 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"
xmlns:aapt="http://schemas.android.com/aapt"

View file

@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.21"
ext.kotlin_version = '1.4.30'
repositories {
google()

View file

@ -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:
- `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: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.