public void speakOutExpression() { String expression = new String(); for (ImageObject io : ExpressionAdapter.dataObjects) { if (ImageGridActivity.isMale == 1) if (io.getTts_m() != null && !io.getTts_m().isEmpty()) expression += io.getTts_m(); else expression += io.getDescription(); else if (io.getTts_f() != null && !io.getTts_f().isEmpty()) expression += io.getTts_f(); else expression += io.getDescription(); if (!expression.isEmpty()) expression += " "; } executing_actv.speakOut(expression); ExpressionAdapter.incrUseCounter(); }
public void removeAllImages() { mAdapter.removeAllImages(); }
public void addImageToExAdapter(ImageObject image_object) { mAdapter.addImageToExpressionAdapter(image_object); }