mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-12-26 03:00:17 +00:00
minor clean up
This commit is contained in:
parent
46bcc117e6
commit
c2c499caec
1 changed files with 2 additions and 2 deletions
|
@ -59,11 +59,11 @@ namespace MonoStockPortfolio
|
||||||
var dialogBuilder = new AlertDialog.Builder(this);
|
var dialogBuilder = new AlertDialog.Builder(this);
|
||||||
dialogBuilder.SetTitle("Options");
|
dialogBuilder.SetTitle("Options");
|
||||||
dialogBuilder.SetItems(_longClickOptions,
|
dialogBuilder.SetItems(_longClickOptions,
|
||||||
(senderi, ei) => tr_LongClick_Options(senderi, ei, selectedPortfolio));
|
(senderi, ei) => tr_LongClick_Options(ei, selectedPortfolio));
|
||||||
dialogBuilder.Create().Show();
|
dialogBuilder.Create().Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void tr_LongClick_Options(object sender, DialogClickEventArgs e, Portfolio selectedPortfolio)
|
private void tr_LongClick_Options(DialogClickEventArgs e, Portfolio selectedPortfolio)
|
||||||
{
|
{
|
||||||
if(_longClickOptions[e.Which] == "Edit")
|
if(_longClickOptions[e.Which] == "Edit")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue