当前位置:网站首页>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

边栏推荐
- Information and entropy, all you want to know is here
- fs. Path module
- TF coordinate transformation of common components of ros-9 ROS
- Shutter uses overlay to realize global pop-up
- 编辑器-vi、vim的使用
- Node collaboration and publishing
- 2309. 兼具大小写的最好英文字母
- Applet (subcontracting)
- Huber Loss
- 一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
猜你喜欢

Programming implementation of ROS learning 5-client node

利用请求头开发多端应用
![Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]](/img/c4/27ae0d259abc4e61286c1f4d90c06a.png)
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]

信息与熵,你想知道的都在这里了

Creation and reference of applet

Solution to the problems of the 17th Zhejiang University City College Program Design Competition (synchronized competition)

Ros- learn basic knowledge of 0 ROS - nodes, running ROS nodes, topics, services, etc

Ros-10 roslaunch summary

混淆矩阵(Confusion Matrix)

Applet customization component
随机推荐
2310. The number of bits is the sum of integers of K
MPSoC QSPI flash upgrade method
c#比较两张图像的差异
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
Programming implementation of ROS learning 2 publisher node
Using request headers to develop multi terminal applications
Causes and appropriate analysis of possible errors in seq2seq code of "hands on learning in depth"
Pearson correlation coefficient
Install the CPU version of tensorflow+cuda+cudnn (ultra detailed)
Ecmascript6 introduction and environment construction
Array, date, string object method
2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition
My experience from technology to product manager
What is a firewall? Explanation of basic knowledge of firewall
np. allclose
scipy. misc. imread()
Introduction Guide to stereo vision (2): key matrix (essential matrix, basic matrix, homography matrix)
C#绘制带控制点的Bezier曲线,用于点阵图像及矢量图形
Wechat H5 official account to get openid climbing account
asp. Net (c)