Check out example codes for "startactivity not working in android adapter". It will help you in understanding the concepts better.

Code Example 1

override fun onClick(v: View?) {
	val intent = Intent(v.context, TimerActivity::class.java)

	v.context.startActivity(intent)
}

Code Example 2

holder.fab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(series.getApplicationContext(),VideoActivity.class);
                String url = response.get(position).getUrl();
                Bundle bundle = new Bundle();
                bundle.putString("key_1",url);
                intent.putExtras(bundle);
                mContext.startActivity(intent);
            }
        });

Learn ReactJs, React Native from akashmittal.com