Here I am Opening the URL which is fetched from JSON Feed in the Browser. I need to open the URL in Another new activity's webview. I Created New Activity where I kept webview too. But the Intent is not passing the String
Here is the Current Code of Opening the URL in Browser
@Override
public void onBindViewHolder(CourseViewHolder holder, int position) {
final Course course = courseList.get(position);
holder.textViewCoursename.setText(course.getCoursename());
holder.textViewcoursedescshort.setText(course.getCoursedescshort());
holder.textViewcourserating.setText(course.getCourserating());
Glide.with(context).load(course.getCourseimg()).into(holder.imageView);
holder.itemView.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(course.getCourseurl()));
context.startActivity(i);
}
});
}