All Versions
10
Latest Version
Avg Release Cycle
14 days
Latest Release
1951 days ago

Changelog History

  • v1.3.1

    May 28, 2015
    • Resource Injection Annotations.
    • ๐Ÿ›  Bugfixes on @Parcelable for Lists and inheritance.
    • ๐Ÿ‘Œ Improved docs ๐Ÿ‘
  • v1.2.3

    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!
  • v1.2.2

    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.
  • v1.2.1

    January 26, 2015

    Solve yet another bug with lists.

  • v1.2.0

    January 26, 2015

    @Parcelable will turn any annotated class into a Parcelable object, creating and applying all its methods automatically.

  • v1.1.4

    January 26, 2015

    Solved more primitive as argument related bugs.

  • v1.1.3

    January 26, 2015

    Fixed a bug which caused methods with primitive (int, char, long, etc.) methods impossible to find.

  • v1.1.2

    January 26, 2015

    SwissKnife will now be able to use private methods as @OnBackground and @OnUIThread annotated methods.

  • v1.1.1

    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, inflate R.layout.list_row views, execute what's on the closure as the getView(...) code on the adapter and attach it to the ListView provided.

  • v1.1.0

    January 26, 2015

    ๐Ÿ‘ Allows you to quickly define which variables should be persisted through configuration changes using saveInstancteState(...) method.