<commit_before># SaveState [![Build Status](https://travis-ci.org/dkajiwara-asnet/SaveState.svg?branch=master)](https://travis-ci.org/dkajiwara-asnet/SaveState)  

Easy save the instance state

# Download
```groovy
repositories {
    maven {
        url 'http://dkajiwara-asnet.github.io/SaveState/repository'
    }
}
dependencies {
    compile 'com.dkajiwara.savestate:savestate:0.0.1'
}
```<commit_msg>Fix README.md<commit_after># SaveState [![Build Status](https://travis-ci.org/dkajiwara-asnet/SaveState.svg?branch=master)](https://travis-ci.org/dkajiwara-asnet/SaveState)  

Easy save the instance state

# Usage

```java
public class MainActivity extends Activity {
    /** TAG.*/
    private static final String TAG = MainActivity.class.getSimpleName();

    @SaveState
    private int age;
    @SaveState
    private String name;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        InjectSave.restoreInstanceState(this, savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        InjectSave.saveInstanceState(this, outState);
    }
}
```


# Download
```groovy
repositories {
    maven {
        url 'http://dkajiwara-asnet.github.io/SaveState/repository'
    }
}
dependencies {
    compile 'com.dkajiwara.savestate:savestate:0.0.1'
}
```
{'fraction_non_alphanumeric': 0.12706043956043955, 'fraction_numerical': 0.004120879120879121, 'mean_word_length': 3.745928338762215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '583447', 'n_tokens_mistral': 500, 'n_tokens_neox': 466, 'n_words': 76}