Skip to content

Instantly share code, notes, and snippets.

@ataulm
Created August 14, 2020 10:46
Show Gist options
  • Save ataulm/af15abb3273d5004ed80d327b4c5dfef to your computer and use it in GitHub Desktop.
Save ataulm/af15abb3273d5004ed80d327b4c5dfef to your computer and use it in GitHub Desktop.
override fun getVisibleVirtualViews(virtualViewIds: MutableList<Int>) {
val numberOfIntervals = ratingsHistogram?.intervals?.size ?: 0
for (i in 0 until numberOfIntervals) {
virtualViewIds.add(i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment