https://github.com/wordpress-mobile/persistentedittext-android
Android EditText subclass with persistence
https://github.com/wordpress-mobile/persistentedittext-android
Last synced: 7 months ago
JSON representation
Android EditText subclass with persistence
- Host: GitHub
- URL: https://github.com/wordpress-mobile/persistentedittext-android
- Owner: wordpress-mobile
- License: gpl-2.0
- Created: 2014-12-08T10:39:32.000Z (about 11 years ago)
- Default Branch: trunk
- Last Pushed: 2021-12-03T03:56:40.000Z (about 4 years ago)
- Last Synced: 2025-01-13T18:23:11.552Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 69.3 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-GPL
Awesome Lists containing this project
README
# PersistentEditText
PersistentEditText is a subclass of the EditText widgets that helps you saving and retrieving user entered text.
## Example Usage
You can add it as a library in your build.gradle file. PersistentEditText is hosted on the maven central repository. For instance:
dependencies {
// use the latest 1.x version
compile 'org.wordpress:persistentedittext:1.+'
}
Sample usage:
## Hack it
### Directory structure
|-- PersistentEditText
| |-- build.gradle # main build file
| `-- src
| |-- androidTest # tests
| `-- main # main code and resources
|-- README.md
|-- local.properties
`-- settings.gradle
### Build
* Setup
Create your `local.properties` file or copy it from another project, then you can generate the aar file:
$ echo "sdk.dir=YOUR_SDK_DIR" > local.properties
* Build
$ ./gradlew build
* Publish to bintray:
```
$ ./gradlew assemble publishToMavenLocal bintrayUpload -PbintrayUser=XXX -PbintrayKey=XXX -PdryRun=false
```
## Apps that use this library
* [WordPress for Android][1]
## LICENSE
This library is dual licensed unded MIT and GPL v2.
## CHANGELOG
### 1.0
* Initial release
[1]: https://github.com/wordpress-mobile/WordPress-Android