I am using monodroid and I want to start a new activity which has parameters I DONT want to use intent.putextra or any bundles
For example this is my activity
namespace BoostITAndroid
{
[Activity(Label = "My Activity")]
public partial class UploadDealership : ListActivity
{
private List<Dealership> listDealers;
private Vehiclestoupload ul;
private int selectedDealershipID = 0;
private String[] Options;
public UploadDealership(Vehiclestoupload uploadList, List<Dealership> listOfDealers)
{
this.ul = uploadList;
this.listDealers = listOfDealers;
}
so this activity has two parameters.
Below I am trying to start the activity
Intent uld = new Intent(this, typeof(UploadDealership(this, listOfDealers)));
StartActivity(uld);
But everything is underlined red so this doesnt work.
How can I start an Activity with parameters?