onCreateRecyclerView

open fun onCreateRecyclerView(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @Nullable savedInstanceState: Bundle): RecyclerView(source)

Creates the RecyclerView used to display the preferences. Subclasses may override this to return a customized RecyclerView.

Return

A new RecyclerView object to be placed into the view hierarchy

Parameters

inflater

The LayoutInflater object that can be used to inflate the RecyclerView.

parent

The parent ViewGroup that the RecyclerView will be attached to. This method should not add the view itself, but this can be used to generate the layout params of the view.

savedInstanceState

If non-null, this view is being re-constructed from a previous saved state as given here.