public void onBindViewHolder ( EfficientViewHolder < T > viewHolder , int position , EfficientAdapter < T > adapter ) { T object = get ( position ) ; viewHolder . onBindView ( object , position ) ; viewHolder . setAdapter ( adapter ) ; setClickListenerOnView ( viewHolder ) ; setLongClickListenerOnView ( viewHolder ) ; }
Called by the view to display the data at the specified position .