<commit_before>Common Adapter for Android
=========

A reusable adapter which can be used to load ListView item.

###Usage

```java
mListView = (ListView) findViewById(R.id.list_view);
mListView.setAdapter(new CommonAdapter<Bean>(this, mDataList, R.layout.list_item) {
    @Override
    public void onPostCreateView(ViewHolder holder, Bean bean) {
        holder.setViewText(R.id.text_title, bean.getTitle())
                .setViewText(R.id.text_description, bean.getDesciption())
                .setViewImageResource(R.id.image_view, bean.getImageResId());
    }
});
```

###Reference

[Android-打造万能适配器](http://www.imooc.com/learn/372)

###License

>The MIT License (MIT)
>
>Copyright (c) 2015 <NAME>
>
>Permission is hereby granted, free of charge, to any person obtaining a copy
>of this software and associated documentation files (the "Software"), to deal<commit_msg>adjust README<commit_after>Common Adapter for Android
=========

A reusable adapter inherited from BaseAdapter.

###Usage

```java
mListView = (ListView) findViewById(R.id.list_view);
mListView.setAdapter(new CommonAdapter<Bean>(this, mDataList, R.layout.list_item) {
    @Override
    public void onPostCreateView(ViewHolder holder, Bean bean) {
        holder.setViewText(R.id.text_title, bean.getTitle())
                .setViewText(R.id.text_description, bean.getDesciption())
                .setViewImageResource(R.id.image_view, bean.getImageResId());
    }
});
```

###Reference

[Android-打造万能适配器](http://www.imooc.com/learn/372)

###License

>The MIT License (MIT)
>
>Copyright (c) 2015 <NAME>
>
>Permission is hereby granted, free of charge, to any person obtaining a copy
>of this software and associated documentation files (the "Software"), to deal
{'fraction_non_alphanumeric': 0.13241220495106507, 'fraction_numerical': 0.008059873344847437, 'mean_word_length': 4.3476923076923075, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 0, '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': '547358', 'n_tokens_mistral': 572, 'n_tokens_neox': 541, 'n_words': 139}