The fact is that my Expandable Group is divided into two, that is, for groupText separate click, and for the indicator, another click, that is, the indicator is groupItem .
And I need to make it so that when I click on groupText(rubricItem) switch to another fragment and its Background stand out, and remain selected when going backwards. So here I have it stands out in this way:
groupViewHolder.mSelectedGroupItem = (View) convertView.findViewById(R.id.selectedGroupView); ...................... groupViewHolder.groupText.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (!finalConvertView.isActivated()) { finalConvertView.setActivated(true); groupViewHolder.mSelectedGroupItem.setVisibility(View.VISIBLE); } } }); ..................... it stands out, but when you click on another groupText(rubricItem) first one remains selected. And with scrolling, almost half of all `groupText is allocated.
Question: How to select? And when scrolling maintained its state?
