Skip to end of metadata
Go to start of metadata

Represent searchable recycler view fragment class.

Definition

public class SearchableRecyclerViewFragment<TViewModel> : RecyclerViewFragment<TViewModel>,

IOnCloseListener, ISearchableRecyclerViewFragment

where TViewModel : IListViewModel, class

Type Parameters

TViewModel The type of the view model.

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Public Properties

FilterScope Gets or sets the filter scope.

Public Methods

NavigateToSearchFragment() Called to navigate to search fragment.
OnClose() Called when close button is pressed.
OnCreate(Bundle) Called when the fragment is created.
OnPrepareOptionsMenu(IMenu) Called when preparing options menu.
OnQueryTextChange(string) Called when query text is changed.
OnQueryTextSubmit(string) Called when query text is submitted.
OnSaveInstanceState(Bundle) Called when saving instance state.

Protected Methods

Dispose(bool) Called when dispose.
OnViewCreated()
OnViewInitializing() Called when view is initializing.

Public Constructors

public SearchableRecyclerViewFragment()

Initializes a new instance of the SearchableRecyclerViewFragment<TViewModel> class.

public SearchableRecyclerViewFragment(IntPtr intPtr, JniHandleOwnership handleOwnership)

Initializes a new instance of the SearchableRecyclerViewFragment<TViewModel> class.

Parameters

intPtr Int ptr.
handleOwnership Handle ownership.

public SearchableRecyclerViewFragment(TViewModel viewModel)

Initializes a new instance of the SearchableRecyclerViewFragment<TViewModel> class.

Parameters

viewModel The view model.

Public Properties

public string FilterScope { get; set; }

Gets or sets the filter scope.

Public Methods

public void NavigateToSearchFragment()

Called to navigate to search fragment.

public bool OnClose()

Called when close button is pressed.

public void OnCreate(Bundle savedInstanceState)

Called when the fragment is created.

Parameters

savedInstanceState State of the saved instance.

public void OnPrepareOptionsMenu(IMenu menu)

Called when preparing options menu.

Parameters

menu The menu.

public bool OnQueryTextChange(string newText)

Called when query text is changed.

Parameters

newText The new text.

public bool OnQueryTextSubmit(string query)

Called when query text is submitted.

Parameters

query The query.

public void OnSaveInstanceState(Bundle outState)

Called when saving instance state.

Parameters

outState State of the out.

Protected Methods

protected void Dispose(bool disposing)

Called when dispose.

Parameters

disposing

protected void OnViewCreated()

protected void OnViewInitializing()

Called when view is initializing.

  • No labels