Skip to content

MobileTribe/pandroid

Repository files navigation

Pandroid

Pandroid 2

download Apache License 2

Note

Pandroid is a mobile archetype used for Android projects. It suggest an architecture for your mobile app and help you handle common problematic you meet in Android development.

To discover what the panda can do, please see the tutorial part of this wiki.

This library was originaly used by Leroy Merlin France mobile teams to develop all their Android applications.
In february 2015 Pandroid 1 was release for LM internal team. A year later the archetype needed a major refactor to improv the developer experiences. We decided to release and open Pandroid 2
A presentation is available about the road we traveled : https://slides.com/florianpaillard/opensource

Roadmap

2.7.2 - (2019-08-01)

Refactor
- Mac address method for Android O devices
Fix
- RecyclerViewAdapter index error on click

2.7.1 - (2018-10-18)

Fix
- Dependency conflict with androidx
- wrong proguard config

2.7.0 - (2018-10-01)

Refactor
- Update libraries versions

2.6.2 - (2018-07-19)

Refactor
- ProgressWheel - add roundStroke attribute
- GeneratedClassMapperProcessor - refactor library class generation
- Improve RxWrapper to handle completable

2.6.1 - (2018-04-17)

Fix
- SupportFragment - fix back pressed with support fragment
- Proguard - update rules

2.6.0 - (2018-04-12)

Refactor
- Migrate fragment to SupportFragment (Fragment is depreciated in Android P)
- Update libraries versions
- Migrate compile dependencies to implementation/api

2.5.8 - (2018-03-19)

Feature
- PandroidAdapter - advance RecyclerViewAdapter
- Kotlin - add adapter DSL to create adapter
Refactor
- Adapter - refactor RecyclerViewAdapter
- Glide - add default glide module to setup okhttpclient
Fix
- Presenter - remove RxLifeCyclerDelegate if RX not setup

2.5.7 - (2018-02-14)

Fix
- RxActionDelegate - crash with multiple result on Single

Older release

Setup project

Pandroid dependencies are handled automatically by a single gradle plugin.
All you have to do is to add this plugin to your module build.gradle

buildscript {
    repositories{
        jcenter()
    }
    dependencies {
        classpath "com.leroymerlin.pandroid:pandroid-plugin:LAST_VERSION"
    }
}

apply plugin: 'com.leroymerlin.pandroid'

Here we go! - Tutorial

To learn how to use the library, please read tutorial part of this wiki.
A demo project is also available in the pandroid-demo module of the repository.

Please remember that Pandroid is an open source project : we count on you to maintain the panda !
Do not hesitate to participate by sharing your questions, bug fixes or improvements.
Be part of it!

Partner

Leroy Merlin

License

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.