using System; using System.Collections.Generic; using System.Linq; using Android.App; using Android.Content; using Android.OS; using Android.Widget; using MonoStockPortfolio.Core.Services; using MonoStockPortfolio.Entities; namespace MonoStockPortfolio { [Activity(Label = "Stock Portfolio", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { public static string ClassName { get { return "monostockportfolio.MainActivity"; } } private IPortfolioService _svc; private IList _portfolios; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _svc = new PortfolioService(this); SetContentView(Resource.layout.main); RefreshList(); WireUpEvents(); } private Button AddPortfolioButton { get { return FindViewById