mirror of
https://github.com/AdrianKuta/Expandable-RecyclerView.git
synced 2025-07-02 15:27:59 +02:00
fix-7 Fix displaying items by recyclewVIew. Update dependencies (#8)
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
@ -1,2 +1 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.github.adriankuta.expandable_recyclerview" />
|
||||
<manifest />
|
||||
|
@ -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()
|
||||
|
@ -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).
|
||||
*
|
||||
|
Reference in New Issue
Block a user