Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

BottomSheet bugfixes (crash, animation) #2077

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 31, 2021

  1. General

    * updated gradle to 7.2
    * made the project jitpack compatible (forks can be retrieved easily via jitpack now)
    * added a "namespace" to projects so that a local fork can be easily used inside an own project (prefix md)
    * made gradle definitions relative to project instead of root project (again to make it possible to use a local fork inside an own project)
    
    Functional
    
    * Updated MaterialDialog dismiss function to make sure it's only called if the activity is not being finished (only if it is attached to an activity and only on android API >= 17)
    * Updated BottomSheet to allow to enable/disable animation and to allow to define an initial state (half expanded, full expanded)
        => animation must be disabled inside a DialogFragment because this fragment will call onShow after screen rotation and also after screen off/on => this leads to collapsed sheets sometimes and to repeated animations on every screen on/off
        => if animation is disabled, everything works perfectly fine inside a DialogFragment as well now
    MFlisar committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    ac7f1e9 View commit details
    Browse the repository at this point in the history
  2. jitpack adjustment

    MFlisar committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    b8f8203 View commit details
    Browse the repository at this point in the history