public void notifyInternal(int notepos){
  int onNotePosition=scopePosition(notepos);
  if (mMode == LayouMode.DEFAULT) {
  }
 else   if (mMode == LayouMode.SINGLE_CHOICE) {
    for (int i=0; i < mChildViews.size(); i++) {
      if (mChildViews.get(i) instanceof TagView) {
        TagView tag=(TagView)mChildViews.get(i);
        if (onNotePosition == i) {
          tag.applyProfile(profile_active);
          tag.setFlag_on(true);
        }
 else {
          tag.setFlag_on(false);
          tag.applyProfile(profile_normal);
        }
        tag.postInvalidate();
      }
    }
  }
 else   if (mMode == LayouMode.SINGLE_CHOICE_OVERLAY_PRESET) {
    for (int i=0; i < mChildViews.size(); i++) {
      if (mChildViews.get(i) instanceof TagView) {
        TagView tag=(TagView)mChildViews.get(i);
        if (onNotePosition == i) {
          tag.applyProfile(profile_active);
          tag.setFlag_on(true);
        }
 else {
          processPreselectedOptionsOff(i,tag);
        }
        tag.postInvalidate();
      }
    }
  }
 else   if (mMode == LayouMode.MULTIPLE_CHOICE) {
    if (mChildViews.get(onNotePosition) instanceof TagView) {
      TagView tag=(TagView)mChildViews.get(onNotePosition);
      if (tag.isFlag_on()) {
        processPreselectedOptions(notepos,tag,profile_normal,false);
      }
 else {
        processPreselectedOptions(notepos,tag,profile_active,true);
      }
      tag.postInvalidate();
    }
  }
}

public void notifyInternal ( int notepos ) { int onNotePosition = scopePosition ( notepos ) ; if ( mMode == LayouMode . DEFAULT ) { } else if ( mMode == LayouMode . SINGLE_CHOICE ) { for ( int i = 0 ; i < mChildViews . size ( ) ; i ++ ) { if ( mChildViews . get ( i ) instanceof TagView ) { TagView tag = ( TagView ) mChildViews . get ( i ) ; if ( onNotePosition == i ) { tag . applyProfile ( profile_active ) ; tag . setFlag_on ( true ) ; } else { tag . setFlag_on ( false ) ; tag . applyProfile ( profile_normal ) ; } tag . postInvalidate ( ) ; } } } else if ( mMode == LayouMode . SINGLE_CHOICE_OVERLAY_PRESET ) { for ( int i = 0 ; i < mChildViews . size ( ) ; i ++ ) { if ( mChildViews . get ( i ) instanceof TagView ) { TagView tag = ( TagView ) mChildViews . get ( i ) ; if ( onNotePosition == i ) { tag . applyProfile ( profile_active ) ; tag . setFlag_on ( true ) ; } else { processPreselectedOptionsOff ( i , tag ) ; } tag . postInvalidate ( ) ; } } } else if ( mMode == LayouMode . MULTIPLE_CHOICE ) { if ( mChildViews . get ( onNotePosition ) instanceof TagView ) { TagView tag = ( TagView ) mChildViews . get ( onNotePosition ) ; if ( tag . isFlag_on ( ) ) { processPreselectedOptions ( notepos , tag , profile_normal , false ) ; } else { processPreselectedOptions ( notepos , tag , profile_active , true ) ; } tag . postInvalidate ( ) ; } } }
only communicate from the tagview
