当前位置:网站首页>Kotlin learning apply plugin: 'kotlin Android extensions‘
Kotlin learning apply plugin: 'kotlin Android extensions‘
2022-06-26 03:40:00 【Light language accumulation】
In the main build.gradle Of plugins add to Control can be used directly id assignment 、 operation
plugins {
id 'kotlin-android-extensions'
}
textView.text="hello world"
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
textView.text="hello world"
}
}
边栏推荐
- Clion项目中运行多个main函数
- MySQL数据库基础
- XGBoost, lightGBM, CatBoost——尝试站在巨人的肩膀上
- 校园创客空间的硬件造物原理
- MySQL增删查改(进阶)
- Double carbon bonus + great year of infrastructure construction 𞓜 deep ploughing into the field of green intelligent equipment for water conservancy and hydropower
- Is it safe for Caicai securities to open an account in 2022?
- Click event
- Matlab| short term load forecasting of power system based on BP neural network
- progress bar
猜你喜欢
Partition, column, list
如何筹备一场感人的婚礼
Cloud Computing Foundation -0
项目部署遇到的问题-生产环境
Using meta analysis to drive the development of educational robot
Xgboost, lightgbm, catboost -- try to stand on the shoulders of giants
On virtual memory and oom in project development
MySQL开发环境
Analysis of the multiple evaluation system of children's programming
[paper notes] supersizing self supervision: learning to grasp from 50K tries and 700 robot hours
随机推荐
Clion项目中运行多个main函数
丝网印刷的种类及其应用方法
进度条
redux-thunk 简单案例,优缺点和思考
2022年挖财证券开户安全嘛?
在哪里开基金帐户安全?
校园创客空间的硬件造物原理
usb peripheral 驱动 - 枚举
双碳红利+基建大年 | 图扑深耕水利水电绿色智能装备领域
请求对象,发送请求
MySQL高级部分( 四: 锁机制、SQL优化 )
项目部署遇到的问题-生产环境
MySQL的视图
经典模型——ResNet
Is it safe to open a fund account? How to apply
USB peripheral driver - Enumeration
小米电视的网页和珠宝的网页
USB驱动-debug
Navicat16 wireless trial
Problems encountered in project deployment - production environment