Giter Club home page Giter Club logo

androidpermissionwithcompose's Introduction

Screenshot_20230320-201503

Android MVVM Architecture using Jetpack Compose and Kotlin

This project is an example of implementing the Model-View-ViewModel (MVVM) architecture in Android using Jetpack Compose and Kotlin. It also covers how to handle Android permissions and works with Android 6.

Requirements

1.Android Studio 4.0 or higher

2.Android SDK version 23 or higher

Project Overview

This project demonstrates the use of the following:

1.MVVM architecture pattern

2.Jetpack Compose for UI development

3.Kotlin for programming language

4.Android Permissions handling

5.Android 6 compatibility

Getting Started

1.Clone the repository using the following command:

git clone [email protected]:kashifansari786/androidPermissionWithCompose.git

2.Open Android Studio and select "Open an existing Android Studio project"

3.Navigate to the cloned repository and select the build.gradle file in the root directory

4.Build and run the project

Permissions

The project demonstrates how to handle Android permissions by requesting permissions at runtime. The code checks for the necessary permissions at runtime and requests them if they are not already granted.

Compatibility

The project is designed to be compatible with Android 6 (API level 23) and higher.

MVVM Architecture

The MVVM architecture separates the presentation logic from the business logic of an app. It uses a ViewModel to store and manage UI-related data and communicate with the Model, which is responsible for data manipulation and retrieval. The View interacts with the ViewModel to retrieve and display data.

Jetpack Compose

Jetpack Compose is a modern UI toolkit for building native Android apps. It allows developers to build UIs with composable functions, making it easy to create and customize UI elements.

Kotlin

Kotlin is a modern, statically typed programming language that runs on the Java Virtual Machine. It is designed to be concise, expressive, and safe.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

androidpermissionwithcompose's People

Contributors

kashifansari786 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.