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

边栏推荐
- Solutions of ordinary differential equations (2) examples
- 【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
- 2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition
- Hi Fun Summer, play SQL planner with starrocks!
- 2310. The number of bits is the sum of integers of K
- Ros- learn basic knowledge of 0 ROS - nodes, running ROS nodes, topics, services, etc
- nodejs_ 01_ fs. readFile
- 2309. The best English letters with both upper and lower case
- Programming implementation of subscriber node of ROS learning 3 subscriber
- Newton iterative method (solving nonlinear equations)
猜你喜欢

Huber Loss

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

Beautiful soup parsing and extracting data

22-07-04 西安 尚好房-项目经验总结(01)

Add discount recharge and discount shadow ticket plug-ins to the resource realization applet
![[code practice] [stereo matching series] Classic ad census: (5) scan line optimization](/img/54/cb1373fbe7b21c5383580e8b638a2c.jpg)
[code practice] [stereo matching series] Classic ad census: (5) scan line optimization

信息與熵,你想知道的都在這裏了
![Rebuild my 3D world [open source] [serialization-2]](/img/e6/aad5f432aca619b992753187729dcf.jpg)
Rebuild my 3D world [open source] [serialization-2]

Summary and Reflection on issues related to seq2seq, attention and transformer in hands-on deep learning

Applet (use of NPM package)
随机推荐
Nodemon installation and use
一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
Confusion matrix
What is a firewall? Explanation of basic knowledge of firewall
scipy. misc. imread()
Luo Gu p3177 tree coloring [deeply understand the cycle sequence of knapsack on tree]
信息与熵,你想知道的都在这里了
[beauty of algebra] solution method of linear equations ax=0
[code practice] [stereo matching series] Classic ad census: (6) multi step parallax optimization
Svg optimization by svgo
Multiple linear regression (gradient descent method)
kubeadm系列-02-kubelet的配置和启动
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
STM32简易多级菜单(数组查表法)
微信H5公众号获取openid爬坑记
Ros- learn basic knowledge of 0 ROS - nodes, running ROS nodes, topics, services, etc
2011-11-21 training record personal training (III)
Transfer learning and domain adaptation
Programming implementation of subscriber node of ROS learning 3 subscriber
.NET服务治理之限流中间件-FireflySoft.RateLimit