diff --git a/MonoStockPortfolio/AddPositionActivity.cs b/MonoStockPortfolio/AddPositionActivity.cs index e931317..8a33d53 100644 --- a/MonoStockPortfolio/AddPositionActivity.cs +++ b/MonoStockPortfolio/AddPositionActivity.cs @@ -10,17 +10,9 @@ using MonoStockPortfolio.Validation; namespace MonoStockPortfolio { [Activity(Label = "Add Position", MainLauncher = false)] - public class AddPositionActivity : Activity + public partial class AddPositionActivity : Activity { - public static string ClassName { get { return "monostockportfolio.AddPositionActivity"; } } - public static string Extra_PortfolioID { get { return "monoStockPortfolio.AddPositionActivity.PortfolioID"; } } - - private IPortfolioRepository _repo; - - private EditText TickerTextBox { get { return FindViewById(Resource.id.addPositionTicker); } } - private EditText PriceTextBox { get { return FindViewById(Resource.id.addPositionPrice); } } - private EditText SharesTextBox { get { return FindViewById(Resource.id.addPositionShares); } } - private Button SaveButton { get { return FindViewById