pandroid
pandroid copied to clipboard
Android Archetype
:htmlPath: ifdef::env-github[:htmlPath: http://mobiletribe.github.io/pandroid/]
image:./pandroid-doc/assets/logo.png[Pandroid,120,120,float="right",align="center"]
= Pandroid 2 :hardbreaks:
image:https://api.bintray.com/packages/mobiletribe/maven/com.leroymerlin.pandroid:pandroid-plugin/images/download.svg[link="https://bintray.com/mobiletribe/maven/com.leroymerlin.pandroid:pandroid-plugin/_latestVersion"] image:http://img.shields.io/badge/license-ASF2-blue.svg["Apache License 2", link="http://www.apache.org/licenses/LICENSE-2.0.txt"]
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 link:{htmlPath}pandroid-doc/html/Tutorial.html[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
link:{htmlPath}pandroid-doc/html/Changelog.html[See Full ChangeLog]
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
[source,groovy]
buildscript { repositories{ jcenter() } dependencies { classpath "com.leroymerlin.pandroid:pandroid-plugin:LAST_VERSION" } }
apply plugin: 'com.leroymerlin.pandroid'
Here we go! - link:{htmlPath}pandroid-doc/html/Tutorial.html[Tutorial]
To learn how to use the library, please read link:{htmlPath}pandroid-doc/html/Tutorial.html[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
image:./pandroid-doc/assets/partner/lm.jpg[Leroy Merlin,120,120]
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.