Answer the question
In order to leave comments, you need to log in
Handling the element when displaying onBindViewHolder, how to do it?
Hi friends.
I have a certain goal, there is a list of audio records, a model (Artist,Title,ImageUrl) 1k+ pieces
The output was made by default, ListBox, ListBox.ItemTemplate, ItemsSource,VirtualizationMode="Standard"
Works fine, scrolls quickly,
But I need to do processing data before rendering each element.
Something like in Android RecyclerView
public void onBindViewHolder(PlaylistHolder holder, int position) {
holder.title = audiolist[position].title;
holder.artist= audiolist[position].artist + " ";
holder.full= audiolist[position].title+" "+ audiolist[position].artist ;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question