Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Releases: arslancharyev31/Anko-ExpandableTextView

Version 2.0.2

29 Sep 10:12
Compare
Choose a tag to compare

Project:

  • Upgraded kotlin, build-tools and gradle version.

Library:

  • Fixed an orientation change state saving issue

Version 2.0.1

05 Aug 15:04
Compare
Choose a tag to compare

Library:

  • Minor bugfixes to state synchronization with varying number of lines upon orientation change.

Version 2.0.0

04 Aug 19:32
Compare
Choose a tag to compare

Project:

Library:

  • Breaking: maxLines is no longer used to set the number of collapsed lines.
  • Breaking: Removed isExpanded, isAnimating and isExpandable properties.
  • Breaking: 4 Event listeners are replaced by one single onStateChange listener with old and new states as parameters.
  • Added collapsedLines and expandedLines properties and attributes.
  • Added state property which tracks status of the ExpandableTextView.
  • Support for dynamic changing of text, collapsedLines, and expandedLines with proper state synchronization.
  • Removed one redundant DSL extension function.

Demo app:

  • Removed ToggleButton.
  • Added spinners to dynamically change collapsedLines, expandedLines and text.
  • Added TextView with current ExpandableTextView state.
  • Added new instrumented tests for testing dynamic changing of text, collapsedLines and expandedLines with proper state synchronization.
  • Test methods implementation extracted in ITest interface.

Version 1.1.1

30 Jul 10:21
Compare
Choose a tag to compare

Fixed:

  • The case when expanded textview in portrait orientation after switching to landscape would still think that it is expandable even though it may be not

Version 1.1.0

29 Jul 15:26
Compare
Choose a tag to compare

Breaking changes

  • Changed maven artifact id from expandabletextview to expandable-textview so that new gradle dependency looks like tm.charlie.androidlib:expandable-textview:1.1.0

Added

  • Since ExpandableTextView (ETV) now extends AppCompatTextView it now supports setting fonts via resources. Demo app is updated with sample usage of font resource as well.
  • Instrumented test for demo app.

Changed

  • ExpandableTextView.SavedState is now internal so that ETV doesn't leak it.
  • TargetSdkVersion, build tools and support library version are upgraded to API 26
  • All dependencies are imported via implementation so that library doesn't leak its own dependencies
  • Regenerated icon for demo app, removed round icon to keep demo module compact.
  • Extension functions are now annotated with DSL Marker
  • Attributes are now prefixed with etv

Version 1.0.2

22 Jul 10:38
Compare
Choose a tag to compare

Changed

  • Update anko dependency to 0.10.1

Version 1.0.1

21 Jul 21:15
Compare
Choose a tag to compare

Fixed some organizational issues

Initial release

20 Jul 21:43
Compare
Choose a tag to compare

Initial release