Code example for AppWidgetHost

Methods: startListening

0
    public void startUpdate(View arg0) {
    } 
 
    public void onShow() { 
        if (mAppWidgetHost != null) {
            mAppWidgetHost.startListening();
        } 
    } 
 
    public void onHide() { 
        if (mAppWidgetHost != null) {
            mAppWidgetHost.stopListening();
        } 
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE