Minor update

This commit is contained in:
Sylvain Berfini 2024-01-29 16:32:05 +01:00
parent 254d8619fe
commit b1d0554a07
3 changed files with 3 additions and 3 deletions

2
.idea/kotlinc.xml generated
View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.0-RC" />
<option name="version" value="1.9.0" />
</component>
</project>

View file

@ -104,7 +104,7 @@ class RecyclerViewHeaderDecoration(
var latestPositionHeaderFound = -1
var nextHeaderTopPosition = -1f
for (index in parent.childCount downTo 1) { // Ignore top/first item
for (index in parent.childCount downTo 1) { // Only returns visible children, ignores top/first item
val child = parent.getChildAt(index)
val position = parent.getChildAdapterPosition(child)
if (position != RecyclerView.NO_POSITION && adapter.displayHeaderForPosition(position)) {

View file

@ -3,7 +3,7 @@ buildscript {
google()
}
dependencies {
def nav_version = "2.6.0"
def nav_version = "2.7.6"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'