Upgrade gradle to 7.0

Update the gradle version to 7.0, because I can.
This commit is contained in:
OxygenCobalt
2021-04-16 19:59:34 -06:00
parent 90de930377
commit 2d4ddc0460
7 changed files with 69 additions and 44 deletions
-1
View File
@@ -15,7 +15,6 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/info_app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:exported="true"
android:supportsRtl="true"
android:theme="@style/Theme.Base">
<activity
@@ -4,6 +4,7 @@ import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResultContracts
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import org.oxycblt.auxio.detail.adapters.ArtistDetailAdapter
@@ -59,11 +60,18 @@ class ArtistDetailFragment : DetailFragment() {
// --- UI SETUP ---
val imgLauncher = registerForActivityResult(ActivityResultContracts.GetContent()) {
}
binding.lifecycleOwner = this
setupToolbar()
setupRecycler(detailAdapter)
binding.detailToolbar.setOnClickListener {
imgLauncher.launch("image/*")
}
// --- VIEWMODEL SETUP ---
detailModel.artistSortMode.observe(viewLifecycleOwner) { mode ->