写 Android 代码时,我们经常把常量、日志用的 TAG、工厂方法,以及 Fragment 的 newInstance() 放进 companion object。调用时直接写 类名.方法名(),