Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markzhai/rememberedittext
An EditText which can remember last several input, free developer from managing cache everywhere themselves. !! NOT ViewGroup !!
https://github.com/markzhai/rememberedittext
Last synced: about 1 month ago
JSON representation
An EditText which can remember last several input, free developer from managing cache everywhere themselves. !! NOT ViewGroup !!
- Host: GitHub
- URL: https://github.com/markzhai/rememberedittext
- Owner: markzhai
- License: apache-2.0
- Created: 2015-09-04T05:45:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-10T08:10:50.000Z (over 8 years ago)
- Last Synced: 2024-11-08T12:17:24.749Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 154 KB
- Stars: 161
- Watchers: 7
- Forks: 33
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RememberEditText [![GitHub release](https://img.shields.io/badge/sample%20apk-0.9.0-brightgreen.svg?style=flat)](https://github.com/markzhai/RememberEditText/releases/download/v0.9.0/app-debug.apk) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/rememberedittext/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/rememberedittext)
An EditText which can remember last input, free developer from managing cache everywhere themselves.
[中文版](https://github.com/markzhai/RememberEditText/blob/master/README_CN.md "中文版")
![Show popup window after dropdown icon clicked](art/screenshot.jpg "Show popup window after dropdown icon clicked")
## Introduction
Have you been annoyed with entering the same stuff once and once like username, thread-reply? RememberEditText can remember the last several input automatically and offers a dropdown list to let user choose.## How
View: RememberEditText is an EditText view, but not a viewgroup extends linearlayout like some project. I made it so in order to decrease view layers.Cache: RememberEditText simply puts its cache in SharedPreference, and keeps a local hashmap version to free from visiting SharedPreference everytime, thus speeds up its looks up and update.
## Usage
```gradle
dependencies {
compile 'cn.zhaiyifan:rememberedittext:0.9.0'
}
``````xml
```
styles:
```xml
```
## TODO
- Make cache loading async.
- Add more hint mode.
- Enable pair mode, like username/password.
- Center gravity is not supported yet, need help (icon is missing when set center gravity).
- Add encrpytion mode to save stuff like password (low priority).
- Support RTL (Right to Left).## Screenshots
![Show popup window after dropdown icon clicked](art/Screenshot_2015-09-09-11-04-19.jpg)
![First start, value auto filled](art/Screenshot_2015-09-09-11-08-10.jpg)
![A larger EditText sample](art/Screenshot_2015-09-09-11-04-25.jpg)