Forum Xamarin.Android

Calling baseadapter class in main activity

Hi, I have problem with baseadapter class, I made this class public class FeedItemDetailsActivity : BaseAdapter<FeedItem> {} and I want to call it as new activity in my main activity here is an example of my code ` protected void OnListItemClick(object sender, AdapterView.ItemClickEventArgs e)
{

        Intent intent = new Intent (this.ApplicationContext, typeof(FeedItemDetailsActivity));
        ApplicationContext.StartActivity(intent);

    }`

but when I click I got error: android.content.ActivityNotFoundException: Unable to find explicit activity class

I tried inputing as an activity in manifest or activity label but that didn't work! Can someone help? Thanks!

Answers

Sign In or Register to comment.