This repository has been archived by the owner on May 10, 2022. It is now read-only.
Releases: AlexanderEggers/archtree
Releases · AlexanderEggers/archtree
0.10.2
0.10.0
0.9.3
- NEW: Added forceExecute method to the action object. (c4a0228)
- NEW: Added helper method for retrieving assets. (2eec46d)
- NEW: Added flag to control if toolbar is inside fragment or activity. (94c9e14)
- FIX: Made Action.onExecute protected to avoid misuse of this method. (a3c8e8d)
- MISC: Removed several CallSuper annotations.
0.9.0
- NEW: Prevent double click when using the action pattern. Each action will have 1000ms difference between clicks by default. You can change this value by using the method provideClickIntervalTime() which is provided by your abstract action implementation. (e969603)
- NEW: Added more binding helper functions. (dcf0abe)
- NEW: Added public getter to check if a certain viewmodel has been initialised. (0611888)
- MISC: Updated dagger and archknife dependencies.
0.8.0
- BREAKING: Tweaking list related binding adapter names. (255fc1d)
- BREAKING: Moved several classes of the list artifact to a new subfolder. (a730cce)
- BREAKING: Removed bundle from BaseViewModel.onActivityResult (d2bb4ab)
- NEW: Handling onActivityResult and onOptionsItemSelected for ArchTreeFragments (66ffc00)
- NEW: Made toolbar setter available for fragments. ArchFragments will recreate the toolbar content using the onResume method. (b8541c4)
- NEW: Added builder impl to add databinding components to the layout. This databinding component could be use for views that are created using databinding and require a databinding component instance in order to work. Inside the layout the databinding component has to be from type java.lang.Object, else the databinding processor won't reconize the type. (fba430c)
- BUGFIX: Tweaking binding methods to prevent layout crashes if using wrong res values (fcaf7d9)
- BUGFIX: Ensured that only active and visible fragments can get backpress and activityresult events. (b8541c4)
0.7.0
- NEW: Added new artifact 'testing'. This artifact will help you with testing your app. It provides you with a ArchTreeBaseTest. This artifact will get more useful helper and methods in the next pre-1.0.0 releases. (906206b, 335541d, d13ea3f)
- FIX: Made some classes and functions non-final to simplify testing those classes in your own code. (d13ea3f)
- FIX: Fixed wrong return value inside the JsonConveter method convertJson. (e7ffa6c)
0.6.0
- NEW: Added new artifact 'helper'. This artifact includes several util and databinding related classes to help you to improve your app quality. Take a look inside the related folder to get an idea (https://github.com/Mordag/archtree/tree/master/helper/src/main/java/archtree/helper)
- NEW: Added new artifact 'list'. This artifact can be used to create databindable list and connect those with your viewmodels using the given ObservableList. To bind your item source to a certain list view, you can use the attribute "archtree_itemSource". The item layout can be set using the attribute "archtree_itemLayout". There are two support list types inside this artifact: BindableLinearLayout and BindableRecyclerViewLayout
- NEW: Added several new builder methods for the toolbar, ui visibility, menu and databinding component.
- NEW: The BaseViewModel got some new additions as well. You can now override the onBackPressed and onOptionsItemSelected inside this class. Those methods will be called from the underlying Android native implementation. That should help you to reduce your code from the activity classes.
- BUGFIX: Added missing getView to the ArchTreeFragment class (5d2904f)
- BUGFIX: Fixed the visibility of serveral methods.
- BREAKING CHANGES: All databinding related attributes has been changed their name to "archtree_(oldName)" to prevent name clashing with other libraries. (05ce221)
0.5.0
- NEW: Added builder function to hide the support bar. (ca1acbb)
- FIX: Fixed visibility for different functions. (47cb0b0)
- FIX: Removed HasNoViewModel. This object will not be used by any project implementation due to dagger restrictions. (db7e4d6)
- MISC: Added missing databinding kapt usage. (9ecde1d)
- MISC: Reduced min SDK level to 14. (9ecde1d)
0.4.0
0.3.0
- Added new artifact 'archtree-action' which can be used to add onClick actions to a certain view using the MVVM pattern. A certain action can be bound to a view by using the binding command 'action' and 'actionParamter'. That means all onClick logic for views can be handled within ViewModels! (9d5e9e6)
- Moved archtree package from org.archtree.* to archtree.* (456c435)
- Updated Kotlin to support version 1.2.41. (456c435)