<commit_before># QuickReturn

Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance.

### Demo

[![video thumbnail](http://img.youtube.com/vi/BwLjMMIWNQU/hqdefault.jpg)](https://www.youtube.com/watch?v=BwLjMMIWNQU)

### Usage

In your ``build.gradle`` file:

```groovy
repositories {
    maven { url 'https://github.com/felipecsl/m2repository/raw/master/' }
    // ...
}

dependencies {
    // ...
    compile 'com.felipecsl:quickreturn:1.5.0'
}
```

In your activity class:

```java
private ListView listView;
private ArrayAdapter<String> adapter;
private QuickReturnAttacher quickReturnAttacher;
private TextView quickReturnTarget;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_main);

    // your listView :)
    listView = (ListView) findViewById(R.id.listView);

    // the quick return target view to be hidden/displayed<commit_msg>QuickReturn is now on maven central<commit_after># QuickReturn

Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance.

### Demo

[![video thumbnail](http://img.youtube.com/vi/BwLjMMIWNQU/hqdefault.jpg)](https://www.youtube.com/watch?v=BwLjMMIWNQU)

### Usage

In your ``build.gradle`` file:

```groovy
dependencies {
    // ...
    compile 'com.felipecsl:quickreturn:1.5.0'
}
```

In your activity class:

```java
private ListView listView;
private ArrayAdapter<String> adapter;
private QuickReturnAttacher quickReturnAttacher;
private TextView quickReturnTarget;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_main);

    // your listView :)
    listView = (ListView) findViewById(R.id.listView);

    // the quick return target view to be hidden/displayed
{'fraction_non_alphanumeric': 0.11820580474934037, 'fraction_numerical': 0.0036939313984168864, 'mean_word_length': 4.576470588235294, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1577827', 'n_tokens_mistral': 609, 'n_tokens_neox': 568, 'n_words': 140}