Android Intent Cannot resolve constructor
Use
Intent myIntent = new Intent(v.getContext(), MyClass.class);
or
Intent myIntent = new Intent(MyFragment.this.getActivity(), MyClass.class);
to start a new Activity. This is because you will need to pass Application or component context as a first parameter to the Intent Constructor when you are creating an Intent for a specific component of your application.
Or you can simply start the activity as shown below;
startActivity( new Intent(currentactivity.this, Tostartactivity.class));