public override void OnCreate() { base.OnCreate(); context = this; mHistoryFile = new File(GetExternalFilesDir(null), FILENAME); mClipboardManager = (ClipboardManager)GetSystemService(ClipboardService); mClipboardManager.AddPrimaryClipChangedListener(this); sharedPrefs = PreferenceManager.GetDefaultSharedPreferences(context); DisplayNotificationAnnInterface = new DisplayNotificationAnnTask(this); }
public AnnotationActivity() { UpdateLinesAnnInterface = new UpdateLinesAnnTask(this); DumpPinyinAnnInterface = new DumpPinyinAnnTask(this); DumpBothAnnInterface = new DumpBothAnnTask(this); }