Skip to content

Releases: webtoon/ReadMoreTextView

Compose 1.3.10

12 Apr 06:52
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose BOM 2023.04.00
readmore-material Jetpack Compose BOM 2023.04.00
readmore-material3 Jetpack Compose BOM 2023.04.00

What’s Changed

Compose 1.4.0

23 Mar 10:08
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.5.0-alpha01
readmore-material Jetpack Compose 1.5.0-alpha01
readmore-material3 Jetpack Compose 1.5.0-alpha01 + Compose Material3 1.1.0-beta01

What’s Changed

Compose 1.3.9

23 Mar 08:37
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose BOM 2023.03.00
readmore-material Jetpack Compose BOM 2023.03.00
readmore-material3 Jetpack Compose BOM 2023.03.00

What’s Changed

Compose 1.3.8

23 Mar 04:37
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.4.0
readmore-material Jetpack Compose 1.4.0
readmore-material3 Jetpack Compose 1.4.0 + Compose Material3 1.1.0-beta01

What’s Changed

  • Updates to Compose 1.4.0 and Compose Compiler 1.4.4 (#53) @fornewid

Compose 1.3.7

14 Mar 14:37
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.4.0-rc01
readmore-material Jetpack Compose 1.4.0-rc01
readmore-material3 Jetpack Compose 1.4.0-rc01 + Compose Material3 1.1.0-alpha08

What’s Changed

  • Updates to Compose 1.4.0-rc01 and Compose Compiler 1.4.3 (#51) @fornewid
  • Bump metalava version to 0.3.3 (#52) @fornewid

View 1.3.2

15 Feb 05:57
Compare
Choose a tag to compare

Built to work with:

Library Dependencies
readmore-view AppCompat 1.6.1

What’s Changed

  • Fix that readLessTextSize attribute is not working for ReadMoreTextView (#50) @fornewid

Compose 1.3.6

15 Feb 02:46
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.4.0-beta01
readmore-material Jetpack Compose 1.4.0-beta01
readmore-material3 Jetpack Compose 1.4.0-beta01 + Compose Material3 1.1.0-alpha06

⚠️ Breaking Changes

onReadMoreClick, onReadLessClick slots are removed. (Added in Compose 1.3.5)
So, if you are already using this attribute, you need to change your code like this:

foundation:

  val (expanded, onExpandedChange) = rememberSaveable { mutableStateOf(false) }
  BasicReadMoreText(
      text = "text",
      expanded = expanded,
+     onExpandedChange = onExpandedChange,
      ...
-     onReadMoreClick = {
-         onExpandedChange(true)
-     },
      readLessText = stringResource(id = R.string.read_less),
-     onReadLessClick = {
-         onExpandedChange(false)
-     },
+     toggleArea = ToggleArea.More,
  )

material, material3:

  val (expanded, onExpandedChange) = rememberSaveable { mutableStateOf(false) }
  ReadMoreText(
      text = "text",
      expanded = expanded,
+     onExpandedChange = onExpandedChange,
      ...
-     onReadMoreClick = {
-         onExpandedChange(true)
-     },
      readLessText = stringResource(id = R.string.read_less),
-     onReadLessClick = {
-         onExpandedChange(false)
-     },
+     toggleArea = ToggleArea.More,
  )

What’s Changed

  • Introduce toggleArea slot to ReadMoreText composables (#48) @fornewid

View 1.3.1

13 Feb 09:41
Compare
Choose a tag to compare

Built to work with:

Library Dependencies
readmore-view AppCompat 1.6.1

⚠️ Breaking Changes

readMoreToggleEnabled attribute is replaced to readMoreToggleArea attribute.
So, if you are already using this attribute, you need to change your code like this:

- app:readMoreToggleEnabled="false"
+ app:readMoreToggleArea="none"

- app:readMoreToggleEnabled="true"
+ app:readMoreToggleArea="all"

What’s Changed

  • Change readMoreToggleEnabled attribute to readMoreToggleArea in ReadMoreTextView (#47) @fornewid
  • Implements read less for ReadMoreTextView (#40) @fornewid
  • Updates to AppCompat 1.6.1 (#46) @fornewid

Compose 1.3.5

09 Feb 16:41
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.4.0-beta01
readmore-material Jetpack Compose 1.4.0-beta01
readmore-material3 Jetpack Compose 1.4.0-beta01 + Compose Material3 1.1.0-alpha06

What’s Changed

  • Updates to Compose 1.4.0-beta01 and Compose Compiler 1.4.1 (#45) @fornewid

Compose 1.3.4

31 Jan 04:57
Compare
Choose a tag to compare
Library Dependencies
readmore-foundation Jetpack Compose 1.4.0-alpha05
readmore-material Jetpack Compose 1.4.0-alpha05
readmore-material3 Jetpack Compose 1.4.0-alpha05 + Compose Material3 1.1.0-alpha05

What’s Changed

  • Add annotation for experimental features (#44) @fornewid
  • Introduce onReadMoreClick, onReadLessClick slots to ReadMoreText composables (#43) @fornewid
  • Updates to Compose 1.4.0-alpha05 and Compose Compiler 1.4.0 (#42) @fornewid