Back to project page droidcon.
The source code is released under:
Apache License
If you think the Android project droidcon listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.timehop.droidcon2014retrofitsample.data.reddit; /*from w w w .ja va2s. c o m*/ import com.timehop.droidcon2014retrofitsample.data.reddit.model.RedditComment; import com.timehop.droidcon2014retrofitsample.data.reddit.model.RedditLink; import com.timehop.droidcon2014retrofitsample.data.reddit.model.RedditListing; import com.timehop.droidcon2014retrofitsample.data.reddit.model.RedditMore; public enum RedditType { t1(RedditComment.class), t3(RedditLink.class), Listing(RedditListing.class), more(RedditMore.class); private final Class mCls; RedditType(Class cls) { mCls = cls; } public Class getDerivedClass() { return mCls; } }