mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
removed references to checkbox holder in daily/todo items
This commit is contained in:
parent
b5165752df
commit
20e8af1c97
3 changed files with 0 additions and 14 deletions
|
|
@ -26,7 +26,6 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
<RelativeLayout
|
||||
android:id="@+id/checkBoxHolder"
|
||||
android:layout_width="@dimen/button_width"
|
||||
android:layout_height="match_parent"
|
||||
app:backgroundColor="@{daily.isDisplayedActive(offset) ? daily.getLightTaskColor : @color/task_gray}">
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
<RelativeLayout
|
||||
android:id="@+id/checkBoxHolder"
|
||||
android:layout_width="@dimen/button_width"
|
||||
android:layout_height="match_parent"
|
||||
app:backgroundColor="@{todo.completed ? @color/task_gray : todo.getLightTaskColor}">
|
||||
|
|
|
|||
|
|
@ -446,16 +446,6 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
protected View.OnClickListener checkboxHolderClickListener() {
|
||||
return new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
checkbox.setChecked(!checkbox.isChecked());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public class DailyViewHolder extends ChecklistedViewHolder {
|
||||
|
|
@ -466,7 +456,6 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
super(itemView);
|
||||
|
||||
binding = DataBindingUtil.bind(itemView);
|
||||
checkboxHolder.setOnClickListener(checkboxHolderClickListener());
|
||||
checkbox.setOnCheckedChangeListener(this);
|
||||
binding.setOffset(dailyResetOffset);
|
||||
}
|
||||
|
|
@ -493,7 +482,6 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
public TodoViewHolder(View itemView) {
|
||||
super(itemView);
|
||||
|
||||
checkboxHolder.setOnClickListener(checkboxHolderClickListener());
|
||||
binding = DataBindingUtil.bind(itemView);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue