Closed StefMa closed 6 years ago
deliverToView { }
?
send
implies a synchronous call (which is only true when the view is attached)post
implies an asynchronous call (although it may be synchronous)deliver
doesn't tell how or when it is delivered which is a good fit for this function.🔴 Ready for another round 👍 Thanks @passsy Great suggestion
Nice addition @StefMa ! 🐶
This will introduce a "basic" implementation for Ti-Kotlin.
Currently it is just the module and the extension function
TiPresenter.deliverToView(block: View.() -> Unit)
. See also this PR: https://github.com/grandcentrix/ThirtyInch/pull/142I'm not quite happy with the function name. But because Kotlin uses the implementation function over the extension function it isn't possible to name them equally. If you have a better name feel free to post it here...