Created
November 26, 2020 19:03
-
-
Save rpandey1234/db657164671e7168e773d158fdd2c4fc to your computer and use it in GitHub Desktop.
Update of Tippy Project to Android Studio 4.1 (no more kotlin android extensions)
This file contains hidden or 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 MainActivity : AppCompatActivity() { | |
| // ADD VIEW VARIABLE DECLARATIONS HERE | |
| private lateinit var tvTipPercent: TextView | |
| private lateinit var etBase: EditText | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| setContentView(R.layout.activity_main) | |
| // SET THE VIEWS HERE | |
| tvTipPercent = findViewById(R.id.tvTipPercent) | |
| etBase = findViewById(R.id.etBase) | |
| // other code goes here... | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment