Giter VIP home page Giter VIP logo

android-examples's Introduction

Android Examples

A list of android samples on different topics!

alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text

Jetpack Compose

  • (Kotlin) Basic ImageView and TextView in Jetpack Compose. Link
  • (Kotlin) Creating a list with custom view holder with material theming. Link
  • (Kotlin) Creating a chat list and maintaining local view states using remember and mutableState. Link
  • (Kotlin) Compose permissions and Android Permissions. Link

Application Components

Activities & Fragments

  • Fragment to Fragment communication through interfaces. Link
  • (Kotlin) Activity and Fragment Lifecycles. Link

Services

  • (Kotlin) Simple Foreground Service. Link
  • (Kotlin) Start foreground service and stop it on device reboot.
  • Foreground Service to control music playback. (Work in Progress) Link

Broadcast Receivers

  • (Kotlin) Listen to all system broadcasts. Link
  • (Kotlin) Send Broadcast on device reboot. Link
  • (Kotlin) Send Local Broadcast from a JobIntentService. Link
  • Send Local Broadcast from a JobIntentService. Link

Content Providers

  • (Kotlin) Read SMS through content resolvers. Link
  • (Kotlin) File Pickers. Link

Architecture Components

Data Binding & View Binding

View Model & Live Data

Paging

Work Manager

Room

App & View Communication

  • Sharing data between Fragments through Shared ViewModel. Link
  • Sharing data between Fragments through Interfaces. Link
  • Receive data from other Apps through Intent Filters. Link

Navigation Components

Android Networking

Ktor

  • (Kotlin) Simple Github API call using Ktor Library. Link

Volley

Retrofit

HttpUrlConnection

  • Fetch list of restaurants from Zomato API using HttpUrlConnection. Link

Android Data Storage

  • A simple Room ORM example without any views. Link
  • Storing newsapi.org news API info into SQLite through Room ORM and Retrofit. Link
  • A simple todo list app using Room ORM. Link
  • Todo list app using raw SQLite. Link
  • (Kotlin) Realm No-SQL local database. Link

Dependency Injection

  • (Kotlin) DI using Dagger Hilt, Retrofit, Room,etc. (Under Construction) Link

Firebase

Cloud Messaging

  • Firebase Cloud Messaging (FCM) example. Link

Authentication

  • Login using Firebase Email Authentication. Link
  • Login using Firebase Google Authentication. Link

Storage

  • Store and retrieve files using Firebase Storage. Link

Firestore

  • Create a Grocery List App by performing CRUD operations. Link

Social Integration

Real-Time App Messaging

User Interface & User Experience

Shape Drawables, Fav Gradients, 9 patch images, material components, custom UI components, animations, transitions, canvas drawings, color palletes, custom styles, image scaling and transformation techniques, etc.

Multi-Threading & Background Processing

Utilities

Camera

Other Utilities

Machine Learning

JSON Parsing

Location Services

Protocol Buffers

  • (Kotlin) Construct a basic object using Protobuf. Link
  • (Kotlin) Deserialise data coming from an API with Protobuf. (Work in Progress) Link

Java Native Interface (JNI)

  • (Kotlin) Fetching strings from native code to Kotlin code using JNI. Link

Testing

Espresso Testing

Unit Testing

RxJava

Gradle

  • (Kotlin) BuildType and Build Flavors Link

CI/CD

Android Games

Android Performance Tools

Android App Ads

Payment Integration

Other

Programming Paradigms in Android

Reactive Programming

Functional Programming

Object-oriented Programming

Declarative Programming

Imperative Programming

Procedural Programming

Logic Programming

Modular Programming

Structured Programming

Generic Programming

Event-driven Programming

Aspect-oriented Programming

Prototype based Programming

Data-driven Programming

Function-level Programming

Array Programming

Dataflow Programming

Role-oriented Programming

Agent-oriented Programming

Stack oriented Programming

SOLID Principles in Android

Sigle Responsibility

Open/Closed

Liskov Substitution

Interface Segregation

Dependency Injection

Design Principles in Android

Loose coupling

Prefer Composition over Inheritance

Program to an Interface, not an implementation

Encapsulate what varies

Encapsulation

Abstraction

Polymorphism

Inheritance

Design Patterns in Android

Creational Patterns

Structural Patterns

  • Adapter Pattern
  • Bridge Pattern
  • Composite Pattern
  • Decorator Pattern
  • Facade Pattern Link1
  • Flyweight Pattern
  • Proxy Pattern

Behavioural Patterns

  • Chain of Responsibility Pattern
  • Command Pattern
  • Interpreter Pattern
  • Iterator Pattern
  • Mediator Pattern
  • Memento Pattern
  • Observer Pattern
  • State Pattern
  • Strategy Pattern
  • Template Pattern
  • Visitor Pattern

Architecture Patterns in Android

  • MVVM Architecture (Model View ViewModel) Link
  • MVP Architecture (Model View Presenter) Link
  • MVC Architecture (Model View Controller) Link
  • VIPER Architecture (View Interactor Presenter Entity Router) Link
  • MVI Architecture (Model View Intent)
  • Clean Architecture

android-examples's People

Contributors

bardiaalavi-2020 avatar singularity-coder 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.