当前位置: 首页>>代码示例>>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;未经允许,请勿转载。