當前位置: 首頁>>代碼示例>>Java>>正文


Java RemoteViewsService類代碼示例

本文整理匯總了Java中android.widget.RemoteViewsService的典型用法代碼示例。如果您正苦於以下問題:Java RemoteViewsService類的具體用法?Java RemoteViewsService怎麽用?Java RemoteViewsService使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RemoteViewsService類屬於android.widget包,在下文中一共展示了RemoteViewsService類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    if (intent != null) {
        return new RemoteIngredientsListViewsFactory(getApplicationContext());
    }
    return null;
}
 
開發者ID:ecarrara-araujo,項目名稱:yabaking,代碼行數:8,代碼來源:RemoteIngredientsListAdapterService.java

示例2: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return (new NewsWidgetViewsFactory(this.getApplicationContext(), intent));
}
 
開發者ID:vikasdesale,項目名稱:News24x7-news-from-every-part-of-the-world,代碼行數:5,代碼來源:NewsWidgetService.java

示例3: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return new StockWidgetFactory(getApplicationContext(), intent);
}
 
開發者ID:DmitryMalkovich,項目名稱:stock-hawk-app,代碼行數:5,代碼來源:StockWidgetService.java

示例4: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return new WFListViewFactory(this.getApplicationContext(), intent);
}
 
開發者ID:rmnoon,項目名稱:WorkflowyList,代碼行數:5,代碼來源:WFListViewService.java

示例5: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return new StockDataProvider(this, intent);
}
 
開發者ID:henriquenfaria,項目名稱:stock-hawk,代碼行數:5,代碼來源:StockWidgetRemoteViewsService.java

示例6: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent paramIntent)
{
  return new RecommendationsViewFactory(this, paramIntent.getIntExtra("appWidgetId", 0), paramIntent.getIntExtra("RecWidget.heightLandscape", 0), paramIntent.getIntExtra("RecWidget.heightPortrait", 0));
}
 
開發者ID:ChiangC,項目名稱:FMTech,代碼行數:5,代碼來源:RecommendationsViewService.java

示例7: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent paramIntent)
{
  return new eaw(getApplicationContext(), paramIntent);
}
 
開發者ID:ChiangC,項目名稱:FMTech,代碼行數:5,代碼來源:LocationsWidgetStackService.java

示例8: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return new ListViewRemoteViewsFactory(this.getApplicationContext(), intent, "android",
            intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 0));
}
 
開發者ID:ccrama,項目名稱:Slide,代碼行數:5,代碼來源:ListViewWidgetService.java

示例9: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
@Override
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
    return new class_widget_factory(getApplicationContext());
}
 
開發者ID:Dimoshka,項目名稱:JWP,代碼行數:5,代碼來源:class_widget_service.java

示例10: onGetViewFactory

import android.widget.RemoteViewsService; //導入依賴的package包/類
public RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {

        return new ListViewRemoteViewsFactory(this.getApplicationContext(), intent);

    }
 
開發者ID:vixir,項目名稱:Perfect-Day,代碼行數:6,代碼來源:TodayWidgetService.java


注:本文中的android.widget.RemoteViewsService類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。