Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class RatingsView(context: Context, attrs: AttributeSet)
: View(context, attrs) {
private val accessHelper = AccessHelper()
init {
ViewCompat.setAccessibilityDelegate(this, accessHelper)
// override fun onDraw(canvas: Canvas)
private inner class AccessHelper : ExploreByTouchHelper(this) {
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment