onRefresh

private fun onRefresh()

Initializes the swipe refresh layout and defines the behavior when the screen is swiped to refresh.