-
-
Save iciakky/2d1f39e7ff7cc384109b8119c11e0bbc to your computer and use it in GitHub Desktop.
detechedTwice
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
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import trikita.anvil.RenderableView | |
import trikita.anvil.recyclerview.v7.RecyclerViewv7DSL.recyclerView | |
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(RenderableRecyclerView()) | |
} | |
inner class RenderableRecyclerView() : RenderableView(this@MainActivity){ | |
override fun view() { | |
recyclerView { } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment