This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect
关于安卓底部DialogFragment基类封装(二)
上文封装了一个普通的dialogfragment
dialog fragment
是基于Android X DialogFragment 进行封装的。
本文将会基于BottomSheetDialogFragment进行封装。
对比普通的DialogFragment进行封装,不同的是,BottomSheetDialogFragment是专门用于
Java类不是单继承么?如果一个类继承了其他父类,就不会直接继承Object,但是它的父类如果再没有父类,就会继承Object,也就是说,Object是任何一个类的直接或间接的父类。因此,我们随意创建一个类,其实也不是空的,起码这个类中有Object类中的属性和方法。
例如:
public class Example {
public Example() {
}
}
publ