当前位置:网站首页>Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
2022-07-05 09:13:00 【Meng Meng Mu Xi】
One 、Databinding Use
stay build.gradle In the open databinding Use
android {
// Copy the following three lines
dataBinding{
enabled = true
}
}
Two 、 Can't find ActivityMainBinding class
Just started to follow the video , It was found that... In the video could not be found ActivityMainBinding class ...
Finally, I found that my order was wrong , In the interface xml Change the root layout to layout, And set one of them variable.
3、 ... and 、 Problem solving
after ActivityMainBinding And that's what happened , And can automatically import packages
边栏推荐
- Blue Bridge Cup provincial match simulation question 9 (MST)
- MPSoC QSPI flash upgrade method
- Causes and appropriate analysis of possible errors in seq2seq code of "hands on learning in depth"
- Using request headers to develop multi terminal applications
- Ros-11 common visualization tools
- Meta tag details
- AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
- Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
- Introduction Guide to stereo vision (4): DLT direct linear transformation of camera calibration [recommended collection]
- Ros-10 roslaunch summary
猜你喜欢
Huber Loss
[technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis
nodejs_ 01_ fs. readFile
Understanding rotation matrix R from the perspective of base transformation
Generate confrontation network
Hosting environment API
[Niuke brush questions day4] jz55 depth of binary tree
Introduction Guide to stereo vision (7): stereo matching
Svgo v3.9.0+
fs. Path module
随机推荐
Nodemon installation and use
It's too difficult to use. Long articles plus pictures and texts will only be written in short articles in the future
AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
The combination of deep learning model and wet experiment is expected to be used for metabolic flux analysis
太不好用了,长文章加图文,今后只写小短文
Rebuild my 3D world [open source] [serialization-3] [comparison between colmap and openmvg]
22-07-04 西安 尚好房-项目经验总结(01)
Multiple linear regression (gradient descent method)
L'information et l'entropie, tout ce que vous voulez savoir est ici.
2311. 小于等于 K 的最长二进制子序列
Introduction Guide to stereo vision (2): key matrix (essential matrix, basic matrix, homography matrix)
Wechat H5 official account to get openid climbing account
. Net service governance flow limiting middleware -fireflysoft RateLimit
一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
Generate confrontation network
Programming implementation of subscriber node of ROS learning 3 subscriber
C#绘制带控制点的Bezier曲线,用于点阵图像及矢量图形
Blue Bridge Cup provincial match simulation question 9 (MST)
微信H5公众号获取openid爬坑记
Pearson correlation coefficient