airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.08k stars 106 forks source link

Add ShowkaseBrowserFragment to be used as a replacement of ShowkaseBrowserActivity #351

Open MohamedHarmoush opened 10 months ago

MohamedHarmoush commented 10 months ago

This pull request (PR) introduces the ShowkaseBrowserFragment.

The purpose: of this addition is to provide developers with an alternative to the existing ShowkaseBrowserActivity when following a single activity architecture. The ShowkaseBrowserFragment offers a more flexible and reusable way to integrate the Showkase browser functionality within their Android applications, accommodating various architectural preferences and enhancing the overall usability of the Showkase library.

MohamedHarmoush commented 10 months ago

Hello @vinaygaba I've added the ShowkaseBrowserFragment to provide a flexible option for developers following a single activity architecture. Your feedback on this PR is highly appreciated. Please review and share any comments or suggestions.

Thank you!

marcorighini commented 7 months ago

@MohamedHarmoush What do you think about exposing the entry point Composable too, without relying on the fragment?

MohamedHarmoush commented 7 months ago

@marcorighini Actually , it's nice idea. I can do it.

MohamedHarmoush commented 7 months ago

@marcorighini as you suggested I added a ShowkaseBrowser composable function, so now we can use

as an entry point