Join Slack
Communities
Powered by
Hey, what is the idiomatic way to do static factor...
# android
u
ursus
06/20/2018, 11:13 PM
Hey, what is the idiomatic way to do static factory methods from java in kotlin? I.e FooAcitivity.launch(), Fragment.newInstance() etc. Should it be companion object method or a toplevel method?
Open in Slack
Previous
Next