koin-annotations icon indicating copy to clipboard operation
koin-annotations copied to clipboard

RecyclerView.Adapter not exists in autogenerated module files

Open ugurcany opened this issue 3 years ago • 1 comments
trafficstars

I just switched to koin 3.2 & annots 1.0.0 versions. I'm using it in one of my android library modules. the issue is my recyclerview.adapter classes are not detected and not included in the autogenerated file.

@Factory
class ****Adapter(private val imageLoader: ImageLoader) :
    RecyclerView.Adapter<****Adapter.ItemViewHolder>()

This class contains inner classes for ViewHolders and an interface for click listeners. And as far as I understand, they might cause this issue. If I remove them from the adapter, everything works fine. Is this a known issue?

ugurcany avatar Jun 14 '22 14:06 ugurcany

Could you reproduce a small test case?

arnaudgiuliani avatar Jun 27 '22 13:06 arnaudgiuliani