C# Class BeerDrinkin.iOS.MyBeersDataSource

Inheritance: UITableViewSource
Show file Open project: MikeCodesDotNet/Beer-Drinkin Class Usage Examples

Public Methods

Method Description
CanEditRow ( UITableView tableView, NSIndexPath indexPath ) : bool
GetCell ( UITableView tableView, NSIndexPath indexPath ) : UITableViewCell
MyBeersDataSource ( ObservableCollection beers ) : System
RowSelected ( UITableView tableView, NSIndexPath indexPath ) : void
RowsInSection ( UITableView tableview, nint section ) : nint

Private Methods

Method Description
DeleteItem ( string beerId ) : void

Method Details

CanEditRow() public method

public CanEditRow ( UITableView tableView, NSIndexPath indexPath ) : bool
tableView UITableView
indexPath NSIndexPath
return bool

GetCell() public method

public GetCell ( UITableView tableView, NSIndexPath indexPath ) : UITableViewCell
tableView UITableView
indexPath NSIndexPath
return UITableViewCell

MyBeersDataSource() public method

public MyBeersDataSource ( ObservableCollection beers ) : System
beers ObservableCollection
return System

RowSelected() public method

public RowSelected ( UITableView tableView, NSIndexPath indexPath ) : void
tableView UITableView
indexPath NSIndexPath
return void

RowsInSection() public method

public RowsInSection ( UITableView tableview, nint section ) : nint
tableview UITableView
section nint
return nint