Releases: adef145/Ktan
Releases · adef145/Ktan
Release list
1.2
Release Highlights
- Having
Flowintegration for getting extras data. - Update ksp option to turn on or off single integration (live data or flow)
- Change option from
com.ktan.processor.LIVE_DATA=true/falseintocom.ktan.processor.integrations=livedata/flow
- Change option from
Features
- Annotation
@FlowExtra. To help processor to generateStateFlowdata type onBindingclass. And also can combine with another annotation likes:- Annotation
@Required. To define non null when consumer receiving the data. - Annotation
@Mutable. To define asMutableStateFlowinstead ofStateFlow.
- Annotation
Enhancement
- Refactoring Ksp processor, more easier to read and adding more integration.
1.1
Release Highlights
Having LiveData integration for getting extras data.
Features
- Annotation
@LiveExtra. To help processor to generateLiveDatadata type onBindingclass. And also can combine with another annotation likes:- Annotation
@Required. To define non null when receive the data from observe. - Annotation
@Mutable. To define asMutableLiveDatainstead ofLiveData.
- Annotation
1.0
Release Highlights
This initial version, we try to make easier and simpler to get and put intent extras / arguments.
To make it come true, we create some convention to generated some boilerplate function, so we don't need do and write the same things again and again
Features
- Annotation
@Extras. To help processor to generateBindingandRoutingclass, and some extension function to populate extras to intent / bundle.- Annotation
@Required. To define non null extra. - Annotation
@Mutable. To define extra can modified (var).
- Annotation
- Annotation
@Route. To help processor to generate some extension function to help us to know which extras need to pass to route particular Activity / Fragment.- Property
extras. To define for particular@Routeneed severalextras
- Property
- Having
bindExtrasextension function inActivityandFragment. - Having basic Extra class such as:
- BinderExtra
- BooleanExtra
- BundleExtra
- ByteArrayExtra
- ByteExtra
- CharArrayExtra
- CharExtra
- CharSequenceArrayExtra
- CharSequenceExtra
- DoubleArrayExtra
- DoubleExtra
- FloatArrayExtra
- FloatExtra
- IntArrayExtra
- IntExtra
- LongArrayExtra
- LongExtra
- ParcelableArrayExtra
- ParcelableExtra
- SerializableExtra
- ShortArrayExtra
- ShortExtra
- SizeExtra
- SizeFExtra
- StringArrayExtra
- StringArrayListExtra
- StringExtra
- Having ParcelerExtra to integrate with johncarl81/parceler