本文整理汇总了Java中com.pedrogomez.renderers.ListAdapteeCollection类的典型用法代码示例。如果您正苦于以下问题:Java ListAdapteeCollection类的具体用法?Java ListAdapteeCollection怎么用?Java ListAdapteeCollection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ListAdapteeCollection类属于com.pedrogomez.renderers包,在下文中一共展示了ListAdapteeCollection类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onCreate
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
component().inject(this);
adapter = new RVRendererAdapter<User>(
LayoutInflater.from(this),
new UserRendererBuilder(this, mUserClickListener),
new ListAdapteeCollection<User>(new ArrayList<User>())
);
presenter = new UserListPresenter(this, getUsersInteractor);
presenter.setView(this);
presenter.initialize();
initializeRecyclerView();
}
开发者ID:voghDev,项目名称:dagger2-clean-mvp-example,代码行数:19,代码来源:UserListActivity.java
示例2: CartChooserFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
CartChooserFragmentViewModel(CartModel model)
{
mModel = model;
mCartViewModelCollection = new ListAdapteeCollection<>();
update();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:8,代码来源:CartChooserFragmentViewModel.java
示例3: ProjectFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
ProjectFragmentViewModel(ProjectModel model, CartModel cartModel)
{
mModel = model;
mCartModel = cartModel;
mProjectViewModelCollection = new ListAdapteeCollection<>();
mEventBus.register(this);
update();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:10,代码来源:ProjectFragmentViewModel.java
示例4: ShowInventoryFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
public ShowInventoryFragmentViewModel(InventoryModel model) {
mModel = model;
mModel.getInventoryItems().setListener(this);
mModel.getInventory();
mEventBus.register(this);
mShowInventoryViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:9,代码来源:ShowInventoryFragmentViewModel.java
示例5: ProductSearchFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
public ProductSearchFragmentViewModel(CategoryModel categoryModel, ProductModel productModel, AutoCompleteModel
autoCompleteModel){
mProductModel = productModel;
mAutoCompleteModel = autoCompleteModel;
mCategoryModel = categoryModel;
mEventBus = EventBus.getDefault();
mProductModel.getProducts().setListener(this);
mCategoryModel.getCategoryProducts().setListener(this);
mProductSearchViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:12,代码来源:ProductSearchFragmentViewModel.java
示例6: CartSlidingUpPanelViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
public CartSlidingUpPanelViewModel(CartModel model) {
mModel = model;
mModel.getCartEntries().setListener(this);
mCartEntryViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:8,代码来源:CartSlidingUpPanelViewModel.java
示例7: generateListAdapteeVideoCollection
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
public AdapteeCollection<Video> generateListAdapteeVideoCollection(int videoCount) {
List<Video> videos = new LinkedList<Video>();
for (int i = 0; i < videoCount; i++) {
Video video = generateRandomVideo();
videos.add(video);
}
return new ListAdapteeCollection<Video>(videos);
}
开发者ID:pedrovgs,项目名称:Renderers,代码行数:9,代码来源:RandomVideoCollectionGenerator.java
示例8: getProjectViewModelCollection
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
public ListAdapteeCollection<ProjectViewModel> getProjectViewModelCollection() {
return mProjectViewModelCollection;
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:4,代码来源:ProjectFragmentViewModel.java
示例9: ReservationFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
public ReservationFragmentViewModel() {
mToolUsageViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:4,代码来源:ReservationFragmentViewModel.java
示例10: NewsFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
public NewsFragmentViewModel(NewsModel model) {
mModel = model;
model.getNews().setListener(this);
mNewsViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:7,代码来源:NewsFragmentViewModel.java
示例11: ICalFragmentViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
@Inject
public ICalFragmentViewModel(ICalModel model) {
mModel = model;
mModel.getICalsList().setListener(this);
mICalViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:7,代码来源:ICalFragmentViewModel.java
示例12: CheckoutViewModel
import com.pedrogomez.renderers.ListAdapteeCollection; //导入依赖的package包/类
public CheckoutViewModel() {
mCartEntryViewModelCollection = new ListAdapteeCollection<>();
}
开发者ID:FAU-Inf2,项目名称:fablab-android,代码行数:4,代码来源:CheckoutViewModel.java
注:本文中的com.pedrogomez.renderers.ListAdapteeCollection类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论