在这里需要帮助......
expListView.setOnChildClickListener(new OnChildClickListener()
{
@Override
public boolean onChildClick(ExpandableListView parent, View v, int group_position, int child_position, long id)
{
if(group_position==0 && child_position==0){
Toast.makeText(HelpActivity.this,
"Item in position " + child_position + " of Group "+(group_position+1)+" clicked",
Toast.LENGTH_LONG).show();
} else if(group_position==1 && child_position==0){
//
Intent myIntent = new Intent(HelpActivity.this, HelpActivityAction.class);
startActivity(myIntent);
return false;
}
return false;
}
});
我正在尝试在第二个选项中启动活动。该活动实现Webview以显示资产文件夹html文件,但第二个其他如果没有执行任何操作。相反,它会使应用程序崩溃。