When running Robolectric tests we would get the following error:
java.lang.IllegalAccessError: tried to access class kotlin.jvm.internal.DefaultConstructorMarker from class androidx.appcompat.widget.MaterialRecyclerViewPopupWindow$Companion.
Additional changes:
changed visibility of some internal classes i.e. MaterialRecyclerViewPopupWindow & SectionedRecyclerViewAdapter as they were not meant to be exposed anyway
update Gradle & AGP versions
target API version 28 -> 29
moved SanityTest to sharedTest source set so that it can be tested with Robolectric as well
Fixes issue #73
When running Robolectric tests we would get the following error:
java.lang.IllegalAccessError: tried to access class kotlin.jvm.internal.DefaultConstructorMarker from class androidx.appcompat.widget.MaterialRecyclerViewPopupWindow$Companion
.Additional changes:
MaterialRecyclerViewPopupWindow
&SectionedRecyclerViewAdapter
as they were not meant to be exposed anywaySanityTest
tosharedTest
source set so that it can be tested with Robolectric as well