Block day selected
benoffi7 opened this issue · 0 comments
benoffi7 commented
Hi! I want to mantein one day always true
If the actual position is equal to my position to block, I change the state of that data item to true but in the UI is unselected. Thanks!
public void onWeekdaysItemClicked(int i, WeekdaysDataItem weekdaysDataItem)
{
int positionSelected = weekdaysDataItem.getPosition();
Log.d(StaticMethods.TAG,"pos: "+positionSelected);
if (positionSelected == pos) //si seleccione el dia de hoy, no puedo desmarcalo
{
weekdaysDataItem.setSelected(true);
}
}