Skip to content

Releases: glailton/ExpandableTextView

Version 1.0.4

22 Jul 21:36
Compare
Choose a tag to compare

New features
Introduced expandType property for an additional option to show expand value as a popup. By default it will work with layout expand behaviour.

Bug Fixes
Fixed AS build issue by updating kotlin gradle plugin.
Fixed an issue in displaying the complete read more text.

Code cleanup
Marked collapsedLines var as non-null based upon its usage.
Replace the visibleText variable & function name with CollapsedVisibleText to reflect its purpose.

Functional Improvements
Marked the initializeText variable non-null as it will remove extra non-null validation for it.
Optimized the collapsedVisibleText function.
Made the collapse & expand mechanism completely disengaged if collapsedLines property is not defined or provided text is visible within the collapsedLines property value. Just because in these scenarios expand/collapse mechanism doesn't do any add-on.
Made the maxLines property to work normally in-case collapsedLines property is not defined because in this scenario TextView should honour the default behaviour.
Changed the default ellipsize text to align it with TextView ellipsize text.
Changed examples to reflect the library changes.
Made the isExpand property overriden in certain scenarios where its provided but can't be used with provided value. e.g. isExpand is set false but the complete text is already visible within collapse mode.
Made the collapse text always show first ellipsize text, then read more text and then normal text in collapse mode so that if text view width is quite small then ellipsize text should be visible like normal TextView behaviour.
Added demo for expandType popup property.

Version 1.0.3

19 Dec 01:27
Compare
Choose a tag to compare
  • Set Programatically ExpandableTextView
  • Code improviments

Version 1.0.2

10 Jun 21:39
966a7d4
Compare
Choose a tag to compare

Bug Fixes
Code improvements

Version 1.0.1

24 Apr 01:58
e0ccd1b
Compare
Choose a tag to compare

Set ReadMore and ReadLess text via XML

Version 1.0.0

25 Mar 03:39
Compare
Choose a tag to compare

This release is the first functional version of ExpandableTextView.

Project:

  • Created a demo project with ExpandableTextView

Library:

  • Created ExpandableTextView library with static resources