From 59c2061a391b4f868bce82718e071b08d28101f1 Mon Sep 17 00:00:00 2001 From: devsideal Date: Wed, 22 Aug 2018 13:01:58 +0530 Subject: [PATCH] update readme for version 1.0.1 --- .idea/caches/build_file_checksums.ser | Bin 589 -> 589 bytes README.md | 5 +++-- app/build.gradle | 2 +- .../com/devs/readmoreoptiondemo/MyAdapter.java | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index fb45f77135beff04684c0e7cf428cdb87c762667..c8793d068cce3272e8d832834603c46831c109fb 100644 GIT binary patch delta 32 ocmX@ha+YPnOy+Khn;YjWU=-xH;BVh2~U=(yXr{K#pr`YDdhH6;Avnq}X0Mj}QlmGw# diff --git a/README.md b/README.md index c231a79..27ee7f7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Read More Option -[![](https://jitpack.io/v/devsideal/ReadMoreOption.svg)](https://jitpack.io/#devsideal/ReadMoreOption/1.0.0) +[![](https://jitpack.io/v/devsideal/ReadMoreOption.svg)](https://jitpack.io/#devsideal/ReadMoreOption) [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-ReadMoreOption-green.svg?style=flat )]( https://android-arsenal.com/details/1/7058) [![GitHub license](https://img.shields.io/github/license/dcendents/android-maven-gradle-plugin.svg )]( http://www.apache.org/licenses/LICENSE-2.0.html) @@ -23,7 +23,7 @@ Convert your TextView in ExpandableTextView with added options ReadMore/ReadLess #### Step 2. Add the dependency ```gradle dependencies { - implementation 'com.github.devsideal:ReadMoreOption:1.0.0' + implementation 'com.github.devsideal:ReadMoreOption:1.0.1' } ``` @@ -53,6 +53,7 @@ Convert your TextView in ExpandableTextView with added options ReadMore/ReadLess ### Known Issue - [ ] expandAnimation not works with ListView/RecyclerView. + - [ ] textLength(n, ReadMoreOption.TYPE_LINE) not works with ListView/RecyclerView. ## License ``` diff --git a/app/build.gradle b/app/build.gradle index f318acf..0b9cfdf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -44,5 +44,5 @@ dependencies { implementation project(':readmoreoption') - //implementation 'com.github.devsideal:ReadMoreOption:1.0.0' + //implementation 'com.github.devsideal:ReadMoreOption:1.0.1' } diff --git a/app/src/main/java/com/devs/readmoreoptiondemo/MyAdapter.java b/app/src/main/java/com/devs/readmoreoptiondemo/MyAdapter.java index a98c73d..b6ebaa0 100644 --- a/app/src/main/java/com/devs/readmoreoptiondemo/MyAdapter.java +++ b/app/src/main/java/com/devs/readmoreoptiondemo/MyAdapter.java @@ -62,6 +62,7 @@ public MyAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, @Override public void onBindViewHolder(ViewHolder holder, int position) { + readMoreOption.addReadMoreTo(holder.mTextView,context.getString(R.string.dummy_text)); }