This repository has been archived by the owner on Apr 8, 2021. It is now read-only.
Releases: arslancharyev31/Anko-ExpandableTextView
Releases · arslancharyev31/Anko-ExpandableTextView
Version 2.0.2
Project:
- Upgraded kotlin, build-tools and gradle version.
Library:
- Fixed an orientation change state saving issue
Version 2.0.1
Library:
- Minor bugfixes to state synchronization with varying number of lines upon orientation change.
Version 2.0.0
Project:
- Upgraded gradle plugin version to
3.0.0-alpha8
. - Added documentation: https://arslancharyev31.github.io/Anko-ExpandableTextView
Library:
- Breaking:
maxLines
is no longer used to set the number of collapsed lines. - Breaking: Removed
isExpanded
,isAnimating
andisExpandable
properties. - Breaking: 4 Event listeners are replaced by one single
onStateChange
listener with old and new states as parameters. - Added
collapsedLines
andexpandedLines
properties and attributes. - Added
state
property which tracks status of theExpandableTextView
. - Support for dynamic changing of
text
,collapsedLines
, andexpandedLines
with proper state synchronization. - Removed one redundant DSL extension function.
Demo app:
- Removed
ToggleButton
. - Added spinners to dynamically change
collapsedLines
,expandedLines
andtext
. - Added
TextView
with currentExpandableTextView
state. - Added new instrumented tests for testing dynamic changing of
text
,collapsedLines
andexpandedLines
with proper state synchronization. - Test methods implementation extracted in
ITest
interface.
Version 1.1.1
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
Breaking changes
- Changed maven artifact id from
expandabletextview
toexpandable-textview
so that new gradle dependency looks liketm.charlie.androidlib:expandable-textview:1.1.0
Added
- Since
ExpandableTextView
(ETV) now extendsAppCompatTextView
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
Changed
- Update anko dependency to 0.10.1
Version 1.0.1
Fixed some organizational issues
Initial release
Initial release