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
Refactor
- Mac address method for Android O devices
Fix
- RecyclerViewAdapter index error on click
Refactor
- ProgressWheel - add roundStroke attribute
- GeneratedClassMapperProcessor - refactor library class generation
- Improve RxWrapper to handle completable
Fix
- SupportFragment - fix back pressed with support fragment
- Proguard - update rules
Refactor
- Migrate fragment to SupportFragment (Fragment is depreciated in Android P)
- Update libraries versions
- Migrate compile dependencies to implementation/api
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
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!
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.