public class AsignTags
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
AsignTags.ModificarTags |
Modifier and Type | Field and Description |
---|---|
private TagsAdapter |
adapter |
private java.util.ArrayList<org.json.JSONObject> |
arrayListTodosLosTags |
private boolean |
esGrupo |
private boolean |
esGrupo2 |
private Json |
json |
private java.util.ArrayList<org.json.JSONObject> |
mArrayListSelectedTAGS |
private java.util.ArrayList<org.json.JSONObject> |
mArrayListTagsPorTipo |
private android.content.Context |
mContext |
private DialogInterfaceTags |
mDialogInterface |
private TagInterfazJson |
mTagInterface |
private java.util.ArrayList<org.json.JSONObject> |
noselectedTags |
private org.json.JSONObject |
picto |
private java.lang.String |
pictoGrupoJson |
private static java.lang.String |
TAG |
Constructor and Description |
---|
AsignTags() |
AsignTags(android.content.Context mContext) |
Modifier and Type | Method and Description |
---|---|
void |
asignarTags(android.app.Dialog dialog) |
void |
cargarTags(java.lang.String tipoTag) |
private void |
cargarTagsPictos() |
private Edad |
getEdad(int edad) |
private Horario |
getHorario(int id) |
private Posicion |
getPosicion(int posicion) |
private Sexo |
getSexo(int sexo) |
TagsAdapter |
getTagsAdapter() |
void |
getTagsYaAsignados() |
private void |
guardarTags() |
void |
removeTagToPicto(org.json.JSONObject picto) |
void |
setAdapter(androidx.recyclerview.widget.RecyclerView recyclerView) |
void |
setExtras(org.json.JSONObject pictoExtra,
boolean esGrupoExtra) |
void |
setInterfaz(DialogInterfaceTags interfaz) |
void |
setInterfazTag(TagInterfazJson interfaz) |
private void |
setTagsToGrupo(org.json.JSONObject grupo,
boolean esAgenda) |
void |
setTagsToPicto(org.json.JSONObject picto) |
void |
setTagsToPicto(org.json.JSONObject picto,
boolean esAgenda) |
void |
setTagToGrupo(org.json.JSONObject grupo,
android.content.Context context,
boolean esAgenda) |
private boolean |
tieneTag(java.lang.String texto,
org.json.JSONObject object) |
private static final java.lang.String TAG
private Json json
private org.json.JSONObject picto
private boolean esGrupo
private boolean esGrupo2
private android.content.Context mContext
private TagsAdapter adapter
private java.lang.String pictoGrupoJson
private java.util.ArrayList<org.json.JSONObject> mArrayListSelectedTAGS
private java.util.ArrayList<org.json.JSONObject> mArrayListTagsPorTipo
private DialogInterfaceTags mDialogInterface
private TagInterfazJson mTagInterface
private java.util.ArrayList<org.json.JSONObject> arrayListTodosLosTags
private java.util.ArrayList<org.json.JSONObject> noselectedTags
public AsignTags()
public AsignTags(android.content.Context mContext)
public void setInterfaz(DialogInterfaceTags interfaz)
public void setInterfazTag(TagInterfazJson interfaz)
public void setAdapter(androidx.recyclerview.widget.RecyclerView recyclerView)
public void setExtras(org.json.JSONObject pictoExtra, boolean esGrupoExtra)
public TagsAdapter getTagsAdapter()
public void getTagsYaAsignados()
public void cargarTags(java.lang.String tipoTag)
public void asignarTags(android.app.Dialog dialog)
public void removeTagToPicto(org.json.JSONObject picto)
public void setTagsToPicto(org.json.JSONObject picto, boolean esAgenda) throws org.json.JSONException
org.json.JSONException
public void setTagToGrupo(org.json.JSONObject grupo, android.content.Context context, boolean esAgenda)
private void setTagsToGrupo(org.json.JSONObject grupo, boolean esAgenda) throws FiveMbException
FiveMbException
private void guardarTags()
private void cargarTagsPictos()
public void setTagsToPicto(org.json.JSONObject picto) throws org.json.JSONException
org.json.JSONException
private Horario getHorario(int id)
private Edad getEdad(int edad)
private Sexo getSexo(int sexo)
private Posicion getPosicion(int posicion)
private boolean tieneTag(java.lang.String texto, org.json.JSONObject object)