<commit_before># ContactsList
An implementation of Android contacts list.

Can be easily applied to other list with floating section bar.

通讯录实现，附带滚动侧栏、浮动标题头。

可复用为其他需要实现滑动标题头的列表控件。

![img](https://github.com/hgDendi/ContactsList/blob/master/img/ContactsListDemo.gif)

![demo](https://github.com/hgDendi/ContactsList/blob/master/img/ContactsListDemo2.gif)

解析blog请见：[http://www.hgworts.tech/android/2017/01/04/Android%E4%BC%98%E9%9B%85%E5%AE%9E%E7%8E%B0%E9%80%9A%E8%AE%AF%E5%BD%95](http://www.hgworts.tech/android/2017/01/04/Android%E4%BC%98%E9%9B%85%E5%AE%9E%E7%8E%B0%E9%80%9A%E8%AE%AF%E5%BD%95)

## FloatingBarItemDecoration

Key class which takes care of section bar of the list(RecyclerView)

- onDraw() 
  - handles the drawing of the section bar<commit_msg>update docs<commit_after># ContactsList
An implementation of Android contacts list.

Can be easily applied to other list with floating section bar.

通讯录实现，附带滚动侧栏、浮动标题头。

可复用为其他需要实现滑动标题头的列表控件。

![img](https://github.com/hgDendi/ContactsList/blob/master/img/ContactsListDemo.gif)

![demo](https://github.com/hgDendi/ContactsList/blob/master/img/ContactsListDemo2.gif)

解析blog请见：[HgWorts](http://www.hgworts.tech/android/2017/01/04/Android%E9%80%9A%E8%AE%AF%E5%BD%95%E5%AE%9E%E7%8E%B0)

## FloatingBarItemDecoration

Key class which takes care of section bar of the list(RecyclerView)

- onDraw() 
  - handles the drawing of the section bar
{'fraction_non_alphanumeric': 0.1407142857142857, 'fraction_numerical': 0.056428571428571425, 'mean_word_length': 6.259067357512953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 3, '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': '2291508', 'n_tokens_mistral': 649, 'n_tokens_neox': 638, 'n_words': 88}