Skip to content

Conversation

@dj-256
Copy link

@dj-256 dj-256 commented Jun 14, 2025

This is a small feature that would really help me (and a lot of people I guess). It's very difficult to pass events between Android Views and composables. This would allow anyone to listen for single taps. For example, I want to use this to toggle the app bar visibility in my application.


  • New TapListener functional interface in PdfRendererView
  • New setOnTapListener method in PinchZoomRecyclerView
  • New tapListener field in PinchZoomRecyclerView
  • Listen for single tap events in PinchZoomRecyclerView.GestureListener
  • New tapListener field in PdfRendererView
  • Set tap listener in PdfRendererView::initializeRenderer
  • New tapListener parameter in PdfRendererViewCompose
  • Set tap listener alongside the status and zoom listeners in PdfRendererViewCompose

* New `TapListener` functional interface in `PdfRendererView`
* New `setOnTapListener` method in `PinchZoomRecyclerView`
* New `tapListener` field in `PinchZoomRecyclerView`
* Listen for single tap events in `PinchZoomRecyclerView.GestureListener`
* New `tapListener` field in `PdfRendererView`
* Set tap listener in `PdfRendererView::initializeRenderer`
* New `tapListener` parameter in `PdfRendererViewCompose`
* Set tap listener alongside the status and zoom listeners in `PdfRendererViewCompose`
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing to this project. This is your first pull request and we are so glad to have you onboard. We will review the request and get back to you soon. We love your contributions! Join our Discord community here to discuss this PR or ask questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant