C# Class MyDriving.Droid.Fragments.TripAdapter

Inheritance: RecyclerView.Adapter
Datei anzeigen Open project: Azure-Samples/MyDriving Class Usage Examples

Public Methods

Method Description
OnBindViewHolder ( RecyclerView holder, int position ) : void
OnCreateViewHolder ( Android.Views.ViewGroup parent, int viewType ) : RecyclerView.ViewHolder
TripAdapter ( Android activity, PastTripsViewModel viewModel ) : Android.OS

Private Methods

Method Description
OnClick ( TripClickEventArgs args ) : void
OnClickLong ( TripClickEventArgs args ) : void

Method Details

OnBindViewHolder() public method

public OnBindViewHolder ( RecyclerView holder, int position ) : void
holder RecyclerView
position int
return void

OnCreateViewHolder() public method

public OnCreateViewHolder ( Android.Views.ViewGroup parent, int viewType ) : RecyclerView.ViewHolder
parent Android.Views.ViewGroup
viewType int
return RecyclerView.ViewHolder

TripAdapter() public method

public TripAdapter ( Android activity, PastTripsViewModel viewModel ) : Android.OS
activity Android
viewModel MyDriving.ViewModel.PastTripsViewModel
return Android.OS