app / sg.edu.ntu.scse.cz2006.gymbuddies.adapter / GymReviewAdapter / onCreateViewHolder

onCreateViewHolder

fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ReviewViewHolder

Creates the required View Holder to store the data in

Parameters

parent - ViewGroup The parent view (ignored)

viewType - Int The type of view to create (ignored)

Return
FavViewHolder The view holder that is created to store the data in