Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code> public View getChildView(final int groupPosition, final int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { final ViewHolder holder; //if (convertView == null) { holder = new ViewHolder(); convertView = mInflater.inflate( R.layout.expandableinner_custom_row, null); holder.textView = (TextView) convertView .findViewById(R.id.textView); holder.checkBox = (CheckBox) convertView .findViewById(R.id.checkBox); String str = getChild(groupPosition, childPosition).toString(); holder.textView.setText(str); Boolean[] boolArr = SMSActivity.maintaingState.get(String .valueOf(groupPosition)); Log.i("BOOLARRAYSIZE ", String.valueOf(boolArr.length)); Log.i("Boolean", String.valueOf(boolArr[childPosition] + "GrpPosition: " + groupPosition + "ChildPosition: " + childPosition)); if (boolArr[childPosition]) { holder.checkBox.setChecked(true); } else { holder.checkBox.setChecked(false); } holder.checkBox .setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged( CompoundButton buttonView, boolean isChecked) { // TODO Auto-generated method stub Boolean[] boolArr = SMSActivity.maintaingState .get(String.valueOf(groupPosition)); boolArr[childPosition] = isChecked;// (object) Log.i("grpPosition", String.valueOf(childPosition)); Log.i("childPosition", String.valueOf(groupPosition)); SMSActivity.maintaingState.remove(String .valueOf(groupPosition)); SMSActivity.maintaingState.put( String.valueOf(groupPosition), boolArr); Log.i("Boolean", String .valueOf(boolArr[childPosition] + " GrpPosition: " + groupPosition + "ChildPosition: " + childPosition)); } }); convertView.setTag(holder); return convertView; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload