Changelog History
-
v1.3.1 Changes
May 28, 2015- Resource Injection Annotations.
- 🛠 Bugfixes on
@Parcelable
for Lists and inheritance. - 👌 Improved docs 👍
-
v1.2.3 Changes
April 05, 2015- 🛠 Fixed
@Parcelable
annotation bug with List restoration. - 👌 Improved some DSL methods.
- ➕ Added
@Extra
annotation. - ➕ Added DSL methods for fragments and activities - thanks @melix!
- 🛠 Fixed
-
v1.2.2 Changes
January 26, 2015🔄 Changes:
- 🛠 Fixed a bug which caused an StackOverflowError on fragments when
@Parcelable
and@SaveInstance
were used together. - 🐎 All AST Transformations have been rewritten using
GeneralUtils
class. This produces better code when those transformations are applied and should be translated to better performance. - ⚡️ Updated Groovy version and Groovy plugin.
- 🛠 Fixed a bug which caused an StackOverflowError on fragments when
-
v1.2.1 Changes
January 26, 2015Solve yet another bug with lists.
-
v1.2.0 Changes
January 26, 2015@Parcelable
will turn any annotated class into aParcelable
object, creating and applying all its methods automatically. -
v1.1.4 Changes
January 26, 2015Solved more primitive as argument related bugs.
-
v1.1.3 Changes
January 26, 2015Fixed a bug which caused methods with primitive (int, char, long, etc.) methods impossible to find.
-
v1.1.2 Changes
January 26, 2015SwissKnife will now be able to use private methods as
@OnBackground
and@OnUIThread
annotated methods. -
v1.1.1 Changes
January 26, 2015➕ Added DSL methods such as:
view(R.id.my\_view)
To quickly load a view - as using
findViewById(...)
, or:onClick(Closure closure)
To add an
OnClickListener
callback to an item and execute the closure's code on click event, or:asListView(R.id.list\_view, R.layout.list\_row, Iterable\<T\> items, Closure toDoOnAdapter)
This will create an
ArrayAdapter
using the provided items, inflateR.layout.list_row
views, execute what's on the closure as thegetView(...)
code on the adapter and attach it to theListView
provided. -
v1.1.0 Changes
January 26, 2015👍 Allows you to quickly define which variables should be persisted through configuration changes using
saveInstancteState(...)
method.