@NonNull
@Override
public Object instantiateItem(@NonNull ViewGroup container, int position) {
PlenMotionListView view = (PlenMotionListView) mLayoutInflater
.inflate(R.layout.page_plen_motion_list_pager, null);
PlenMotionListAdapter adapter = PlenMotionListAdapter_.getInstance_(mContext);
adapter.setDraggable(mDraggable);
view.setAdapter(adapter);
mSubscriptionMap.put(position, Subscriptions.from(
adapter,
adapter.bind(Observable.just(mItems.get(position).getMotions()))));
container.addView(view);
return view;
}
PlenMotionListPagerAdapter.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:plen-Scenography_Android
作者:
评论列表
文章目录