@Override public void onClick(View v) {
int i = v.getId();
if (i==R.id.cars){
Intent open_adapter_class = new Intent(this,ItemsAdapter.class);
startActivity(open_adapter_class );
}
}
//this is the error I get
android.content.ActivityNotFoundException: Unable to find explicit activity class
{com.dikolobe.salesagent/com.dikolobe.salesagent.ItemsAdapter}; have you declared this activity in your
AndroidManifest.xml?
I know that am getting this error because adapter is not an activity so I just want to get help on how to
open this adapter class if there is a way to do so