Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

1.0.0-beta19.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@AlexanderEggers AlexanderEggers released this 26 Feb 21:26

This is a minor release to focus on stability and documentation.

Behavior changes

  • If there is alert A and B, with A having the priority of 2 and B having the priority of 1, B won't close A anymore but makes this alert invisible. This is helpful if the alert A should be displayed again after closing alert B. The time difference between A and B (in this example) is 1-2s which makes it impossible for the user to identify the alert A. But due to the implementation of priorities, the alert B will overrule the current active alert A.
  • Suggestion: Create a service class which handles all alert sources (for example during the activity creation). This service should act if all sources have been finished and tried to show their alerts (via showLater). The service will then tell the related controller to show the next alert (via showNext). Sources are server requests, certain app conditions etc.

hitogo-core

Features

  • More javadoc has been added
  • DialogAlertImpl is checking the button object if it should close the alert after being clicked
  • Removed addCallback (SnackbarBuilder)
  • Added additional showNext method (HitogoController) which is accepting a AlertType.

Bugfixes

  • Button will only try to close their alerts if it is still attached.

hitogo-testing

Features

  • Added mock object to simplify mock creation (HitogoServiceMock and HitogoMock).