Skip to content

A Collection of major Jetpack compose UI components which are commonly used.πŸŽ‰πŸ”πŸ‘Œ

License

Notifications You must be signed in to change notification settings

zakisk/SSComposeCookBook

Β 
Β 

Repository files navigation

SSComposeCookBook

Compose Version Kotlin Version API Platform

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:

  1. Get a Maps API key
  2. Add an entry in local.properties or local.defaults.properties that looks like MAPS_API_KEY=YOUR_MAPS_KEY
  3. Build and run

Components

App Bar Bottom Navigation Button
Checkbox Dialog Dropdown
FAB Modal Drawer Bottom Drawer
Radio Button Slider Text
Textfield Theme ZoomView
Textfield Theme MagnifierView
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

Barrier Guideline Chain

Animation

Basic Content Gesture
Infinite Shimmer TabBar

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

Basic Marker Polyline
Polygon Circle Ground Overlay
Tile Overlay Indoor Level Lite Map
Place Picker Navigation Viewer Projection
Cluster Heat Map KML
GeoJSON ScaleBar Snapshot
Map in scrollable view Compose Map In XML

ViewPager

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


Nikunj Buddhadev

Mohammed Hanif

Shweta Chauhan

Mehul Kabaria

Ronak Ukani

Payal Rajput

Krupa Parekh

Priyal Parmar

Yashwant Gowla

Priyank Jain

License

MIT License

Copyright (c) 2022 Simform Solutions

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

A Collection of major Jetpack compose UI components which are commonly used.πŸŽ‰πŸ”πŸ‘Œ

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%