目录一、简介二、具体步骤1.在build.gradle中开启databinding2.在BaseActivity的封装,主要是通过反射的方式获取。如下3.在Activity中使用如下4.在BaseFragment的封装5.在Fragment的使用如下6.Kotlin 版本总结一、简
I have one of my activities which I would like to prevent from rotating because I\'m starting an AsyncTask, and screen rotation makes it restart.