Created
February 1, 2020 11:30
-
-
Save plnice/192d0090e7ee17efd63255a73c37c841 to your computer and use it in GitHub Desktop.
Layout resource ID in the Activity/Fragment constructor
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 MyActivity : AppCompatActivity(R.layout.my_activity) | |
class MyFragmentActivity: FragmentActivity(R.layout.my_fragment_activity) | |
class MyFragment : Fragment(R.layout.my_fragment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment