Last active
March 23, 2020 22:17
-
-
Save fo2rist/76e1857d274266ad626dda5610566133 to your computer and use it in GitHub Desktop.
Java To Kotlin Conversion. Step 4. Interop Before
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NonLazyDemoAdapter internal constructor(fm: FragmentManager) : FragmentStatePagerAdapter(fm) { | |
internal class FragmentBundle( | |
@field:SerializedName("id") var id: Int, | |
@field:SerializedName("name") var name: String | |
) : Serializable | |
companion object { | |
@JvmStatic | |
fun createAdapter(fm: FragmentManager): NonLazyDemoAdapter { | |
... | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment