Search in sources :

Example 1 with MessageCryptoMvpView

use of com.fsck.k9.ui.messageview.MessageCryptoPresenter.MessageCryptoMvpView in project k-9 by k9mail.

the class MessageViewFragment method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // This fragments adds options to the action bar
    setHasOptionsMenu(true);
    Context context = getActivity().getApplicationContext();
    mController = MessagingController.getInstance(context);
    downloadManager = (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE);
    messageCryptoPresenter = new MessageCryptoPresenter(savedInstanceState, messageCryptoMvpView);
    messageLoaderHelper = new MessageLoaderHelper(context, getLoaderManager(), getFragmentManager(), messageLoaderCallbacks);
    mInitialized = true;
}
Also used : Context(android.content.Context) MessageLoaderHelper(com.fsck.k9.activity.MessageLoaderHelper)

Aggregations

Context (android.content.Context)1 MessageLoaderHelper (com.fsck.k9.activity.MessageLoaderHelper)1