Type mismatch - Required: Context, Found: Fragment (Kotlin)
I'm having some problem with my app...
I want to see a custom ListView with an image and a text in a Fragment; I've created the Fragment, the single row, the Adapter...but I always get this error:
Type mismatch.
Required: Context
Found: CategoriesFragment
This is the code for fragment_categories.xml:
This is the code for categories_row.xml:
This is the code for CategoriesAdapter.kt:
import android.content.Context
import...