Skip to content

Проектная работа № 2, Спринт 4 (свои ветки)#1

Open
ikos13 wants to merge 1 commit intodevfrom
dev_ikos13
Open

Проектная работа № 2, Спринт 4 (свои ветки)#1
ikos13 wants to merge 1 commit intodevfrom
dev_ikos13

Conversation

@ikos13
Copy link
Owner

@ikos13 ikos13 commented Aug 31, 2025

(ПР№2 Спринт 4 Косов И.А.)
Повтор, версия "Между ветками, а не депозитариями".

(ПР№2 Спринт4 Косов И.А.)

public class FilterContactTypeAdapter extends RecyclerView.Adapter<FilterContactTypeAdapter.ViewHolder> {

// private final AsyncListDiffer<FilterContactTypeUi> differ = new AsyncListDiffer<>(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Закоментированный код лучше сразу удалять. Хранить закоментированный код в проекте - плохая практика, в случае чего этот код можно восстановить с помощью истории гита

return result;
}
@Override
public boolean theSameAs(FilterContactTypeUi elementTemp3) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В подобных функциях сравнения, где в качестве аргумента функции принимается объект того же класса для сравнения с текущим объектом, принято называть аргумент как other для повышения читабельности кода

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants