• Stars
    star
    441
  • Rank 95,695 (Top 2 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.

Jetpack-Compose-Android-Examples

Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.

MindOrks Connect with us Open Source Love License

About this project:

  • If you want to get started with Jetpack Compose for Android Development and wants to master it, then this project is for you.
  • Common use-cases of Jetpack Compose in Android has been implemented in this project.
  • This is your one-stop solution for learning Jetpack Compose for Android Development.

Steps to learn Jetpack Compose by examples from this project

  • Just clone, build, run the project and start learning Jetpack Compose by examples.

This Jetpack Compose Example Project will help you in learning the following for Android App Development:

  • How to build UI using Jetpack Compose in Android?
  • How to display a Text and apply various styles on a Text?
  • How to display a TextField(EditText) and apply various styles on it?
  • How to use the Preview and PreviewParameter feature offered by Android Studio?
  • Learn how to use various layouts such as Column, ScrollableColumn, LazyColumn, Row, ScrollableRow, LazyRow, Box, Stack, and ConstraintLayout in Jetpack Compose?
  • Learn the usage of Clickable in Jetpack Compose with the help of examples.
  • How to use Buttons, Card, Images, AlertDialog, Single Choice Dialog in Jetpack Compose?
  • Through Jetpack Compose tutorial, you will learn various Material Design UI elements such as BottomAppBar, TopAppBar, BottomNavigation, Checkbox, CircularProgressIndicator, LinearProgressIndicator, RadioButton, Slider, Snackbar, and Switch.
  • Learn how to make Custom Views in Jetpack Compose?
  • How to add animation such as Crossfade and Shape Rotation in Jetpack Compose?

Jetpack Compose Examples for Android Development:

Project Directory Structure

.
└── com.mindorks.example.jetpack.compose/
    β”œβ”€β”€ animation/
    β”‚   β”œβ”€β”€ CrossFadeAnimationActivity.kt
    β”‚   └── ShapeRotationActivity.kt
    β”œβ”€β”€ button/
    β”‚   └── MaterialButtonActivity.kt
    β”œβ”€β”€ card/
    β”‚   └── CardExampleActivity.kt
    β”œβ”€β”€ clickable/
    β”‚   └── ClickableExampleActivity.kt
    β”œβ”€β”€ customview/
    β”‚   └── CustomViewActivity.kt
    β”œβ”€β”€ data/
    β”‚   └── Blog.kt
    β”œβ”€β”€ dialog/
    β”‚   β”œβ”€β”€ AlertDialogActivity.kt
    β”‚   └── SingleChoiceDialogActivity.kt
    β”œβ”€β”€ image/
    β”‚   └── ImageActivity.kt
    β”œβ”€β”€ layout/
    β”‚   β”œβ”€β”€ BoxActivity.kt
    β”‚   β”œβ”€β”€ ColumnActivity.kt
    β”‚   β”œβ”€β”€ ConstraintLayoutActivity.kt
    β”‚   β”œβ”€β”€ LazyColumnActivity.kt
    β”‚   β”œβ”€β”€ LazyRowActivity.kt
    β”‚   β”œβ”€β”€ RowActivity.kt
    β”‚   β”œβ”€β”€ ScrollableColumnActivity.kt
    β”‚   β”œβ”€β”€ ScrollableRowActivity.kt
    β”‚   └── StackActivity.kt
    β”œβ”€β”€ materialdesign/
    β”‚   β”œβ”€β”€ MaterialAppBarActivity.kt
    β”‚   β”œβ”€β”€ MaterialBottomNavigationActivity.kt
    β”‚   β”œβ”€β”€ MaterialCheckBoxActivity.kt
    β”‚   β”œβ”€β”€ MaterialProgressActivity.kt
    β”‚   β”œβ”€β”€ MaterialRadioButtonActivity.kt
    β”‚   β”œβ”€β”€ MaterialSliderActivity.kt
    β”‚   β”œβ”€β”€ MaterialSnackbarActivity.kt
    β”‚   └── MaterialSwitchActivity.kt
    β”œβ”€β”€ preview/
    β”‚   β”œβ”€β”€ DummyBlogProvider
    β”‚   β”œβ”€β”€ PreviewParameterActivity.kt
    β”‚   └── SimplePreviewActivity.kt
    β”œβ”€β”€ text/
    β”‚   β”œβ”€β”€ SimpleTextActivity.kt
    β”‚   β”œβ”€β”€ TextFieldActivity.kt
    β”‚   └── TextStylingActivity.kt
    β”œβ”€β”€ ui/
    β”‚   β”œβ”€β”€ Color.kt
    β”‚   β”œβ”€β”€ Shape.kt
    β”‚   β”œβ”€β”€ Theme.kt
    β”‚   └── Type.kt
    └── MainActivity.kt

References useful during learning the Jetpack Compose for Android from this project

Explore Android Online Tutorials and Courses To Learn More by MindOrks

  • Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks
  • Android Tutorial - All Free Android Tutorials by MindOrks
  • Android Online Course for Professionals - In this online course, you’ll learn the Dagger, Kotlin, RxJava, MVVM Architecture, Architecture Components, Jetpack, LiveData, ViewModel, Room Database, Database Design, Multithreading, Memory Management, Networking, Caching, How Glide works, Unit Testing, and the best practices for Android Development. By the end of this online course, you will have all the skills you need to become a professional Android Developer.
  • Android Online Course for Beginners - This course is for beginners for those who want to get started with Android Development. In this course, you will build two apps: TodoNotes and Ride-Sharing Uber Android App.

If this project helps you in anyway, show your love ❀️ by putting a ⭐ on this project ✌️

Check out MindOrks awesome open source projects here

License

   Copyright (C) 2020 MINDORKS NEXTGEN PRIVATE LIMITED

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Contributing to Jetpack Compose Android Examples

Just make pull request. You are in!

More Repositories

1

Kotlin-Flow-Android-Examples

Kotlin
895
star
2

Jetpack-Compose-WhatsApp-Clone

An example project to demonstrate how to build WhatsApp using Jetpack Compose.
Kotlin
605
star
3

Dagger-Hilt-Tutorial

An example project to demonstrate how to use the Dagger-Hilt in Android.
Kotlin
486
star
4

CrashReporter

CrashReporter is a handy tool to capture app crashes and save them in a file.
Java
402
star
5

EditDrawableText

EditDrawableText - An EditText which makes your Drawable Clickable
Kotlin
301
star
6

Retrofit-Kotlin-Coroutines-Example

An example project to demonstrate how to use Retrofit with Kotlin Coroutines in Android
Kotlin
277
star
7

MVI-Architecture-Android-Beginners

This repository contains a beginner sample app that implements MVI architecture
Kotlin
224
star
8

Uber-Car-Animation-Android

An example project to demonstrate how to Add Uber Like Car Animation in Android App
Kotlin
210
star
9

RadialProgressBar

Radial ProgressBar inspired by Apple Watch OS. It is highly Customisable
Kotlin
164
star
10

Paging3-Android-Tutorial

An example project to demonstrate how to use the Paging-3 in Android.
Kotlin
145
star
11

Koin-Tutorial

Koin - step by step tutorial
Kotlin
113
star
12

Open-PDF-File-Android-Example

An example project to demonstrate how to open a PDF file in Android programmatically
Kotlin
69
star
13

screenshot

This library helps to take screenshot dynamically
Kotlin
67
star
14

ConcatAdapter-Android-Example

In this project, we have demonstrated how to use Concat Adapter in Android
Kotlin
57
star
15

gogeom

This is a Geometrical library for Go Language. Which includes multiple Geometrical calculations like Circle, Lines etc in different forms
Go
56
star
16

Dagger-Multi-Module-Android

Learn to use dagger for dependency management in a multi-module app
Kotlin
49
star
17

Fused-Location-API-Example

An example project to demonstrate how to use Fused Location API to fetch the current location in Android
Kotlin
47
star
18

ViewColorGenerator

A library to generate color palette for view, imageview and image from URL.
Kotlin
30
star
19

android-architecture-jetpack-components

Android Architecture Using Jetpack Components: Sample App
Kotlin
29
star
20

WAProfileImage

WAProfileImage - A library for Android for choosing and editing profile image like WhatsApp
Kotlin
29
star
21

Dagger-Dynamic-Feature-Module

Project for using dagger in dynamic feature module
Kotlin
23
star
22

Easy-Share-Android

Easy Share - A library for sharing in Android
Java
20
star
23

Go-Log

A Go logger package which provides utility on top of Go's normal Log package.
Go
19
star