1

I am trying to open activity from adapter. It gives me error Type Mismatch: inferred type is Intent but context was expected. help me. enter image description here

mili2501
  • 452
  • 5
  • 9

1 Answers1

2

Just replace the error line with

 context.startActivity(intent)
Liem Vo
  • 5,149
  • 2
  • 18
  • 16