fix-7 Fix displaying items by recyclewVIew. Update dependencies (#8)

This commit is contained in:
2022-11-22 17:35:42 +01:00
committed by Adrian Kuta
parent 40c8e28e45
commit 34b3a760e7
13 changed files with 38 additions and 45 deletions

View File

@ -1,13 +1,11 @@
package com.github.adriankuta.expandable_recyclerview
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.*
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*

View File

@ -1,2 +1 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.adriankuta.expandable_recyclerview" />
<manifest />

View File

@ -7,7 +7,7 @@ class ExpandableTreeNode<T>(value: T) : TreeNode<T>(value) {
var expanded: Boolean = true
override fun child(value: T, childDeclaration: ChildDeclaration<T>?) : ExpandableTreeNode<T> {
override fun child(value: T, childDeclaration: ChildDeclaration<T>?): ExpandableTreeNode<T> {
val newChild = ExpandableTreeNode(value)
if (childDeclaration != null)
newChild.childDeclaration()

View File

@ -1,9 +1,8 @@
package com.github.adriankuta.expandable_recyclerview
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*