Join Slack
Powered by
Is it possible or a bad idea to instantiate an obj...
# android
r
Regan Russell
09/21/2017, 2:59 AM
Is it possible or a bad idea to instantiate an object as a concrete version of Unit..? I am thinking: class TabHostFragment: BaseFragment<Unit> { } whereas all other fragments are: class MyDataFragment : baseFragment<MyDataItem> { }
Open in Slack
Previous
Next