Skip to content

Releases: FinTecSystems/xs2a-android

3.12.0

06 Oct 15:05
Compare
Choose a tag to compare

Theme additions

  • Added inputType.
    • Values: NORMAL, OUTLINED
  • Added buttonSize
    • Using added SizeConstraint it is now possible to control the size of all the buttons.
      • SizeConstraint.Size -> Set the width and height directly.
      • SizeConstraint.WrapContent -> Sets the width and height to wrap the components children.
      • SizeConstraint.FillMaxWidth -> Sets the width to fill the parents width.
  • Added buttonHorizontalAlignment
    • Controls where the buttons will be placed horizontally.
    • Values: Start, End, CenterHorizontally

Disable Back Button

It is now possible to disable the form using XS2AWizardConfig.enableBackButton.

! Only disable the default back button if you implement your own back button !

If you plan to implement your own back button you can use the following methods:

  • XS2AWizardViewModel.backButtonIsPresent to detect if a back button should be rendered.
  • XS2AWizardViewModel.goBack to submit a back action to the backend.
    • This method only fires if a back button is present in the form data.

3.11.1

27 Sep 06:30
Compare
Choose a tag to compare
  • Removed MultiLine due to deprecation.

3.11.0

08 Sep 11:10
Compare
Choose a tag to compare
  • Reverted dependency & kotlin upgrade of v3.10.0
    • This no longer requires compileSdk to be 33.

3.10.1

01 Sep 12:28
Compare
Choose a tag to compare
  • Fixed CompositionLocalProvider being removed by accident from CheckBoxLine

3.10.0

31 Aug 15:27
Compare
Choose a tag to compare
  • Fixed CheckBoxLine not using CheckBoxLineData.disabled

  • Upgraded dependencies

  • Upgraded to Kotlin 1.7.10

    • Please note that this requires the compileSdk and targetSdk to be 33 or higher.

3.9.1

31 Aug 13:54
Compare
Choose a tag to compare

Software Keyboard Auto-Closing

The Software Keyboard will now close as well when clicking on the following elements:

  • CheckBox
  • Radio
  • Clickable Text

Normal text and open spaces will still leave the keyboard open, since those could get pressed by mistake.
Clicking on the Flicker controls leave the keyboard open as well.

3.9.0

16 Aug 15:40
Compare
Choose a tag to compare

Accessing the ViewModel

The ViewModel scope is now bound to the host-activity.
This means it's now possible to access the ViewModel in non-compose projects.

This is useful if you need to call navigation commands directly, like goBack or abort.

Refer to here for more information.

3.8.2

15 Aug 13:55
Compare
Choose a tag to compare
  • Fixed loading indicator not being shown properly when enableScroll is disabled and the Wizard is wrapped inside a ScrollView.

3.8.1

10 Aug 14:20
Compare
Choose a tag to compare
  • Fixed MarkupParser not being able to parse URL-Queries, which resulted in markups not being parsed at all.
  • Fixed an Issue, where in some cases the value of a CheckBox was incorrect.

3.8.0

29 Jul 09:42
Compare
Choose a tag to compare
  • Added possibility to disable the scroll component of the form.
    • Added XS2AWizardConfig.enableScroll, which defaults to true.
    • If disabled the Wizard is able to be placed inside another ScrollView or similar.