Releases: Rasalexman/Flair
Releases · Rasalexman/Flair
2.0.1
- Separate code packages to core functionality and extensions in package com.rasalexman.flaircore.ext.*
- IMediator.mediatorName is not a optional for better performance
- IProxy.data is not optional anymore but you can support optional like object : Proxy<String?>(null) {}
- All HashMap storages now changed to androidx.collection.ArrayMap
- Reduce memory leaks when call IFacade.remove() and clear core data
- IFacade.attach now take an activity: FragmentActivity as parameter
Migration Guide:
Change import com.rasalexman.flaircore.interfaces to import com.rasalexman.flaircore.ext
1.5.7
- fully migrate to androidX with Kotlin 1.3.71
- reduce library size
- fully stable release
- code refactoring
1.5.4
Migration to androidx
1.5.2
Added new module with coroutines implementation for launchOnUi{} and async{} calls with Proxy objects and Commands
1.5.1
- changed View.attachActivity(activity: AppCompatActivity, container: ViewGroup?)
1.5.0
- Separate FlairFramework packages to core and reflection modules. Now core module weight is less then 125 Kb and you don't need to worry about reflection library in your proguard file!!!
- Added example with GOOGLE LiveData (https://developer.android.com/topic/libraries/architecture/livedata)
- minSdkVersion come back to 17
- IMediator.isAddToBackStack - new property that means: does this mediator need to be added in backstack if you want to organize your own backstack)
- Added new animations - FadeAnimator, NextLinearAnimator, BackLinearAnimator.
- Many bug fixes and code improvements
1.2.5
- fix bug with IView.checkSelfPermission(permissionToCheck: String)
- update kotlin version to 1.2.70
1.2.4
- added some useful extension functions
- Model is final class now
1.2.3
- fixed bug in IView.hideMediator when pop curent Mediator after animation changed
- added hashBackButton:Boolean to ToolbarMediator
- minSdkVersion 19
- split inner classes from com.rasalexman.flairframework.core.animation.* to AnimationPreDrawListener, BaseAnimationListenerAdapter and added abstract class BaseAnimator
- changed MutableMap to ArrayMap for memory improvements
- View.currentActivity is WeakReference
- changed MacroCommand.initializeMacroCommand from constructor to IController.registerCommand
- added IMediator.onAnimationStart and IMediator.onAnimationFinish
- added IMediator.removeMediator
Docs added, plus a lot of memory improvements and code refactoring.
1.2.2
added some useful extension functions to IMediator