Пример #1
0
        private void OnBillClick(int position)
        {
            var bill = _bills[position];

            if (bill == null)
            {
                _logger.Error("Cannot process Bill click event. Unable to fidn bills at position " + position);
                return;
            }

            var title       = bill.GetDisplayTitle();
            var billSummary = BillManager.GetBillDetailedSummary(bill);
            var link        = bill.Urls.Count > 0
                ? bill.Urls[0]
                : string.Empty;

            AppHelper.ShowDetailsDialog(_fragment, title, billSummary, link);
        }