Example usage for android.content AsyncQueryHandler AsyncQueryHandler

List of usage examples for android.content AsyncQueryHandler AsyncQueryHandler

Introduction

In this page you can find the example usage for android.content AsyncQueryHandler AsyncQueryHandler.

Prototype

public AsyncQueryHandler(ContentResolver cr) 

Source Link

Usage

From source file:com.android.mail.browse.MessageHeaderView.java

private AsyncQueryHandler getQueryHandler() {
    if (mQueryHandler == null) {
        mQueryHandler = new AsyncQueryHandler(getContext().getContentResolver()) {
        };//from ww w  .jav a  2 s .  c  o  m
    }
    return mQueryHandler;
}