Skip to content

Add in-app image viewer with swipe navigation#70

Open
yxpg wants to merge 1 commit intosnikket-im:masterfrom
yxpg:feature/media-viewer
Open

Add in-app image viewer with swipe navigation#70
yxpg wants to merge 1 commit intosnikket-im:masterfrom
yxpg:feature/media-viewer

Conversation

@yxpg
Copy link
Copy Markdown

@yxpg yxpg commented Mar 18, 2026

Tapping an image message now opens a full-screen in-app viewer instead of launching an external app. Users can swipe left and right to navigate through all image messages in the conversation.

  • New MediaViewerActivity: full-screen dark-themed activity with a ViewPager backed by all image messages in the conversation
  • Toolbar shows "X / N" counter updated on swipe
  • Uses ViewPager already present in the project (no new dependencies)
  • MessageAdapter: image tap launches MediaViewerActivity instead of ViewUtil.view(); non-image media (downloads, audio) unchanged

Tapping an image message now opens a full-screen in-app viewer instead
of launching an external app. Users can swipe left and right to navigate
through all image messages in the conversation.

- New MediaViewerActivity: full-screen dark-themed activity with a
  ViewPager backed by all image messages in the conversation
- Toolbar shows "X / N" counter updated on swipe
- Uses ViewPager already present in the project (no new dependencies)
- MessageAdapter: image tap launches MediaViewerActivity instead of
  ViewUtil.view(); non-image media (downloads, audio) unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant