public void itemClick() { isSelected = !isSelected; if (isSelected) { setBackgroundResource(R.drawable.listitem_pushfriendbg_f); } else { setBackgroundResource(R.drawable.listitem_pushfriendbg); } onFriendListItemChildClick( parserListItemOnlyText.getUserId(), parserListItemOnlyText.getFlush(), isSelected, parserListItemOnlyText.getType(), parserListItemOnlyText.getText().getStr()); }
private void childEvent() { switch (parserListItemOnlyText.getPageId()) { case PageID.PAGEID_PUSH_FRIEDN: break; case PageID.PAGEID_FRIEND_SEARCH: break; default: onFriendListItemChildClick( parserListItemOnlyText.getUserId(), parserListItemOnlyText.getFlush(), false, parserListItemOnlyText.getType(), ""); break; } }