您好,我对消除 NullEx 有疑问...
我设置mContext = context
了,现在我有错误:
Implicit super constructor LinearLayout() is undefined. Must explicitly invoke another constructor
Constructor call must be the first statement in a constructor
public DigitalClock(Context context) {
mContext=context;
this(context, null);
}
较早的线程Android闹钟显示问题。