lundi 14 décembre 2015

Set checkBox in CustomAdapter Visible by clicking on ListView Element in Fragment

is it possible to call a method in my CustomAdapter to set a checkbox Visible/Gone by clicking on an Element on my Fragments Listview? Ive got those two methods:

    public void setCheckBoxSelectItemVisible(){
    checkBoxSelectItem.setVisibility(View.VISIBLE);

    return;
}

public void setCheckBoxSelectItemGone(){
    checkBoxSelectItem.setVisibility(View.GONE);

    return;
}

But How do I access them from my Fragment? Or do I have do chose another way?

Aucun commentaire:

Enregistrer un commentaire