
SSComposeCookBook

A Collection of major Jetpack compose UI components which are commonly used.
Introduction
Jetpack Compose is a modern toolkit for building native Android UI. It simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs.
In this repository, there are number of UI components demonstrated which can be useful in regular development through Jetpack Compose.
Prerequisites
- Experience with Kotlin syntax, including lambdas
What you'll need
Setup (For Google Map Implementation)
To run the google map samples, you'll have to:
- Get a Maps API key
- Add an entry in
local.properties or local.defaults.properties that looks like MAPS_API_KEY=YOUR_MAPS_KEY
- Build and run
Components
| App Bar |
Bottom Navigation |
Button |
 |
 |
 |
| FAB |
Modal Drawer |
Bottom Drawer |
 |
 |
 |
| TabBar |
DatePicker |
TimePicker |
 |
 |
 |
| ImagePicker |
ParallaxEffect |
Compose views in Xml |
 |
 |
 |
| XML views in Compose |
 |
List
| LazyRow/Column |
LazyVerticalGrid |
Advance List |
 |
 |
 |
Pull To Refresh
| Simple Pull To Refresh |
Custom Background Pull To Refresh |
Custom View Pull To Refresh |
 |
 |
 |
Swipe To Delete
| Swipe Left |
Swipe Right |
Swipe Left + Right |
 |
 |
 |
Constraint Layout
Animation
Sample UI
| Instagram |
 |
Canvas
| Overview |
Shapes |
Text and Image |
 |
 |
 |
| Path |
Path Operations |
DrawScope Helpers |
 |
 |
 |
| Canvas + Touch |
Blend Modes |
Basic Example |
 |
 |
 |
| Android 11 Easter Egg |
 |
Google Maps
| Polygon |
Circle |
Ground Overlay |
 |
 |
 |
| Tile Overlay |
Indoor Level |
Lite Map |
 |
 |
 |
| Place Picker |
Navigation Viewer |
Projection |
 |
 |
 |
| GeoJSON |
ScaleBar |
Snapshot |
 |
 |
 |
| Map in scrollable view |
Compose Map In XML |
 |
 |
| Horizontal Pager |
Horizontal Pager with Tabs |
Horizontal Pager with indicator |
 |
 |
 |
| Vertical Pager with indicator |
Pager with Zoom-in transformation |
Pager with Fling Behavior |
 |
 |
 |
| Add/Remove pager |
 |
Coming Up
- Navigation
- Theme enhancement
Our Libraries in JetPackCompose
- SSJetPackComposeProgressButton : SSJetPackComposeProgressButton is an elegant button with a different loading animations which makes your app attractive.
- SSJetpackComposeSwipeableView : SSJetpackComposeSwipeableView is a small library which provides support for the swipeable views. You can use this in your lazyColumns or can add a simple view which contains swipe to edit/delete functionality.
- SSComposeOTPPinView : A custom OTP view to enter a code usually used in authentication. It includes different types of OTPViews which is easy to use and configure your own view and character of OTP using all the attributes.
Official Documentations
Find this samples useful? ❤️
Support it by joining stargazers for this repository.⭐
How to Contribute🤝
Whether you're helping us fix bugs, improve the docs, or a feature request, we'd love to have you! 💪
Check out our Contributing Guide for ideas on contributing.
Bugs and Feedback
For bugs, feature requests, and discussion please use GitHub Issues.
Awesome Mobile Libraries
Main Contributors
License