- Notifications
You must be signed in to change notification settings - Fork3.1k
An Android app which provides design news & inspiration as well as being an example of implementing material design.
License
nickbutcher/plaid
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Rewriting Plaid usingAndroid Architecture Components, in Kotlin.
👀 "Up for grabs" issues – We're happy toget your contributions on those!
👍 Comments and new issues created are welcomed.
🛑 We're currently not accepting external PRs that touch on the app's architecture.
Plaid was written with one big goal: showcase material design in Android in a real application. While Plaid successfully achieved its goal, from an architecture point of view, it lacks all features that would make it a modular, scalable, testable and maintainable app: with UI logic in Android classes, no tests and only one module.Plaid represents a great real world app example: it provides a fairly complex set of functionalities, it has technical debt, it has features that have to be dealt with as APIs are being removed.All of these problems are encountered by many projects in the Android community and therefore, make Plaid a suitable showcase for all the advantages that architecture components bring.
Read more:
Video Presentations:
- Shaping Your App's Architecture with Kotlin and Architecture Components by Florina (Florina Muntenescu at KotlinConf 2018)
- Re-stitching Plaid with Kotlin (Florina Muntenescu at Android Dev Summit '18)
- Migrate Plaid to Architecture Components. The refactoring will follow the architecture described inGuide to App Architecture.
- Convert to Kotlin, while migrating to Architecture Components.
- Modularize the app usingdynamic feature modules.
- Showcase the extensibility of the architecture by adding an extra data source, once the migration is finished.
Changes to the styles, themes, icons, animations, transitions or any other UI elements that were the initial focus of Plaid, are outside the scope of this refactoring.
Plaid requires Android Studio version 3.6 or higher.
Plaid usesktlint to enforce Kotlin coding styles.Here's how to configure it for use with Android Studio (instructions adaptedfrom the ktlintREADME):
Close Android Studio if it's open
Download ktlint using theseinstallation instructions
Inside the project root directory run:
./ktlint --apply-to-idea-project --android
Remove ktlint if desired:
rm ktlint
Start Android Studio
Design news and inspiration.
Plaid is a showcase ofmaterial design that we hope you willkeep installed. It pulls in news & inspiration fromDesigner News,Dribbble &Product Hunt. It demonstratesthe use ofmaterial principlesto create tactile, bold, understandable UIs.
Install on Google Play (Beta Testing)
Plaid is a UI sample and seeks to demonstrate how to implement material design. To make this as clear as possible it explicitly does not attempt to:
- Provide opinionatedarchitecture/testing advice; it utilizes vanilla Android components. For advice on this, I'd recommendBlueprints.
- Supportpre-Lollipop devices. Doing so is entirely possible, but complicates things. For advice on doing this, seethis fork.
Copyright 2015 Google LLC.Licensed to the Apache Software Foundation (ASF) under one or more contributorlicense agreements. See the NOTICE file distributed with this work foradditional information regarding copyright ownership. The ASF licenses thisfile to you under the Apache License, Version 2.0 (the "License"); you may notuse this file except in compliance with the License. You may obtain a copy ofthe License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS, WITHOUTWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See theLicense for the specific language governing permissions and limitations underthe License.
About
An Android app which provides design news & inspiration as well as being an example of implementing material design.