initialize

open fun initialize()(source)

Initializes the view and sets up any required resources or listeners. This is be called inside init of the concrete subclasses after setting the viewType.

This method performs the following actions:

  • Adds the appropriate layout manager based on the viewType.

  • Adds the HeaderFooterAdapter with the specific AppPickerAdapter for the viewType.

  • Sets the item decoration for the RecyclerView.

  • Enables the "Go to top" button functionality.

  • Enables the fast scroller.

  • Enables the fill bottom feature.