当前位置:网站首页>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
边栏推荐
- Rebuild my 3D world [open source] [serialization-1]
- Kubedm series-00-overview
- fs. Path module
- C#图像差异对比:图像相减(指针法、高速)
- Programming implementation of ROS learning 2 publisher node
- Introduction Guide to stereo vision (4): DLT direct linear transformation of camera calibration [recommended collection]
- 太不好用了,长文章加图文,今后只写小短文
- Huber Loss
- Programming implementation of ROS learning 6 -service node
- [code practice] [stereo matching series] Classic ad census: (4) cross domain cost aggregation
猜你喜欢
L'information et l'entropie, tout ce que vous voulez savoir est ici.
[code practice] [stereo matching series] Classic ad census: (6) multi step parallax optimization
Solution to the problems of the 17th Zhejiang University City College Program Design Competition (synchronized competition)
Huber Loss
Node collaboration and publishing
Composition of applet code
Programming implementation of ROS learning 2 publisher node
Svgo v3.9.0+
Codeworks round 639 (Div. 2) cute new problem solution
fs. Path module
随机推荐
Introduction Guide to stereo vision (6): level constraints and polar correction of fusiello method
Hosting environment API
Meta tag details
Programming implementation of subscriber node of ROS learning 3 subscriber
我的一生.
Install the CPU version of tensorflow+cuda+cudnn (ultra detailed)
Applet data attribute method
C#绘制带控制点的Bezier曲线,用于点阵图像及矢量图形
优先级队列(堆)
Huber Loss
My experience from technology to product manager
Programming implementation of ROS learning 2 publisher node
[code practice] [stereo matching series] Classic ad census: (4) cross domain cost aggregation
Talking about label smoothing technology
. Net service governance flow limiting middleware -fireflysoft RateLimit
AdaBoost use
File server migration scheme of a company
Kubedm series-00-overview
Introduction Guide to stereo vision (3): Zhang calibration method of camera calibration [ultra detailed and worthy of collection]
c语言指针深入理解