Search in sources :

Example 1 with KnowledgeSystem

use of com.yumore.provider.entity.reseult.KnowledgeSystem in project RxMVP by Yumore.

the class CategoryFragment method onItemTagClick.

@Override
public void onItemTagClick(BaseQuickAdapter<?, ?> adapter, View view, int parentId, int position) {
    KnowledgeSystem knowledgeSystem = knowledgeSystems.get(parentId);
    ChildrenBean childrenBean = knowledgeSystem.getChildren().get(position);
    startActivity(new Intent(getContext(), KnowledgeActivity.class).putExtra("title", childrenBean.getName()).putExtra("cid", childrenBean.getId()));
}
Also used : KnowledgeSystem(com.yumore.provider.entity.reseult.KnowledgeSystem) ChildrenBean(com.yumore.provider.entity.reseult.ChildrenBean) Intent(android.content.Intent) KnowledgeActivity(com.yumore.module.activity.KnowledgeActivity)

Aggregations

Intent (android.content.Intent)1 KnowledgeActivity (com.yumore.module.activity.KnowledgeActivity)1 ChildrenBean (com.yumore.provider.entity.reseult.ChildrenBean)1 KnowledgeSystem (com.yumore.provider.entity.reseult.KnowledgeSystem)1