using System; using Android.App; using Android.Content; using Android.OS; using Android.Widget; using MonoStockPortfolio.Core.PortfolioRepositories; using MonoStockPortfolio.Core.Services; using MonoStockPortfolio.Entities; namespace MonoStockPortfolio { [Activity(Label = "Add Position", MainLauncher = false)] public class AddPositionActivity : Activity { public AddPositionActivity(IntPtr handle) : base(handle) { } public static string ClassName { get { return "monoStockPortfolio.AddPositionActivity"; } } public static string Extra_PortfolioID { get { return "monoStockPortfolio.AddPositionActivity.PortfolioID"; } } private IPortfolioRepository _repo; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.layout.addposition); var saveButton = FindViewById