These are chat archives for Arasthel/SwissKnife

2nd
Apr 2015
Eugene Kamenev
@eugene-kamenev
Apr 02 2015 05:47
@pieces029 I can't find it, it maybe was at old groovy lang site. But it is very easy to write one, you can take a look at any transformation in Swissknife to get started. For example @Onbackground it has already everything you will need to write one for logging methods
Arthur
@ArthurSav
Apr 02 2015 10:31
Hey! What do you think about adding an @Extra annotation for passing extras arround, just like AA
Eugene Kamenev
@eugene-kamenev
Apr 02 2015 10:34
Hi @c0nnector , I am not so experienced in android-dev, android libs, can you tell me what you want to get from it, maybe we can do it better
I am groovy developer, so I can make some magic with your usual code :D
Arthur
@ArthurSav
Apr 02 2015 10:38
Well extras are used to pass around data from Activity/fragment to activity/fragment. Android annotations provides the @extra annotation to simplify that proccess. Check it out here https://github.com/excilys/androidannotations/wiki/Extras
It’s pretty handy and since i saw this lib gets some trades from AA i though the @Extra would be a cool addition.
Thinking of switching from AA to SwissKnife since it’s more light
Eugene Kamenev
@eugene-kamenev
Apr 02 2015 10:41
Seems to be a good idea to have this in SwissKnife also
Eugene Kamenev
@eugene-kamenev
Apr 02 2015 10:49
@c0nnector For now I dont have enough time to bring these things into library, but all these features are not so hard to implement, I can help with groovy code, you can just ask me. Can you implement it yourself?
Arthur
@ArthurSav
Apr 02 2015 11:14
I’d love to contribute but i’m not familiar with creating annotations. I’ll make sure to give it a try though
Eugene Kamenev
@eugene-kamenev
Apr 02 2015 11:19
@c0nnector I can help just contact me.