Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 !!

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)