你好,我有消除NullEx的問題...的Android nullexception構造
我設置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 alarm Clock這說明問題。
現在我有這樣的錯誤LogCat:pastebin.com/6GzGUcTf – Silesia 2012-08-13 16:18:17