public void FilterBills(string filter) { try { var filteredBills = _billManager.FilterBillsByQuery(_billsToDisplay, filter); (recycler.GetAdapter() as BillAdapter).UpdateBill(filteredBills); } catch (Exception e) { MyLogger.Error("An error occured filtering bills in BillViewer", e); } }