GCX-HCI / ThirtyInch

a MVP library for Android favoring a stateful Presenter
Apache License 2.0
1.03k stars 101 forks source link

Basic implementation for TI kotlin #150

Closed StefMa closed 6 years ago

StefMa commented 6 years ago

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/142

I'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...

passsy commented 6 years ago

deliverToView { }?

StefMa commented 6 years ago

🔴 Ready for another round 👍 Thanks @passsy Great suggestion

jreehuis commented 6 years ago

Nice addition @StefMa ! 🐶