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

边栏推荐
- L'information et l'entropie, tout ce que vous voulez savoir est ici.
- .NET服务治理之限流中间件-FireflySoft.RateLimit
- How many checks does kubedm series-01-preflight have
- OpenFeign
- Introduction Guide to stereo vision (7): stereo matching
- Editor use of VI and VIM
- Jenkins Pipeline 方法(函数)定义及调用
- Svgo v3.9.0+
- Hosting environment API
- Confusion matrix
猜你喜欢

Wxml template syntax

Hi Fun Summer, play SQL planner with starrocks!

ROS learning 4 custom message

Information and entropy, all you want to know is here
![3D reconstruction open source code summary [keep updated]](/img/ec/984aede7ef9e758abd52fb5ff4e144.jpg)
3D reconstruction open source code summary [keep updated]

AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details

Programming implementation of ROS learning 5-client node

混淆矩阵(Confusion Matrix)

Introduction Guide to stereo vision (2): key matrix (essential matrix, basic matrix, homography matrix)

nodejs_ fs. writeFile
随机推荐
Wxml template syntax
nodejs_ fs. writeFile
Shutter uses overlay to realize global pop-up
混淆矩阵(Confusion Matrix)
Applet (subcontracting)
驾驶证体检医院(114---2 挂对应的医院司机体检)
scipy.misc.imread()
【PyTorch Bug】RuntimeError: Boolean value of Tensor with more than one value is ambiguous
Ros-11 common visualization tools
Hosting environment API
浅谈Label Smoothing技术
Progressive JPEG pictures and related
C [essential skills] use of configurationmanager class (use of file app.config)
File server migration scheme of a company
Rebuild my 3D world [open source] [serialization-2]
3D reconstruction open source code summary [keep updated]
Editor use of VI and VIM
太不好用了,长文章加图文,今后只写小短文
The location search property gets the login user name
ROS learning 4 custom message