Getting Classifier Context does not have companion object. in Kotlin
I am trying to retrieve value from onBindViewHolder so, I can retrieve it from my mainclass. I am getting Error on fetchJSON() function like Classifier does not have companion object and thus must be initialized here.I am able to retrieve result without context but I am trying to display the onBindViewHolder variables inside my main class.
class TestProjectMenuDetail() : AppCompatActivity() {
var itemName=""
override fun onCreate(savedInstanceState: Bundle?) {...