Ferhat Boutaleb
Ferhat Boutaleb

Reputation: 27

Cannot resolve constructor Intent

Upvotes: 2

Views: 1672

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006584

The first parameter to the Intent constructor that you are trying to use takes a Context. Fragment is not a Context. Use getActivity() instead of this.

Upvotes: 2

Related Questions