Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ep/feature/tickets list UI #142

Open
wants to merge 4 commits into
base: ep/feature/refactoringHelpyPsd
Choose a base branch
from

Conversation

epryamonosova
Copy link

No description provided.

Comment on lines +89 to +91
val toolbarFilter = findViewById<ImageButton>(R.id.psd_toolbar_filter_ib)
val toolbarQr = findViewById<ImageButton>(R.id.psd_toolbar_qr_ib)
val ticketsRv = findViewById<RecyclerView>(R.id.tickets_rv)
Copy link
Contributor

Choose a reason for hiding this comment

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

Давай binding завезем

Copy link
Author

Choose a reason for hiding this comment

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

сделала


override fun finish() {
super.finish()
PyrusServiceDesk.onServiceDeskStop()
Copy link
Contributor

Choose a reason for hiding this comment

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

Не очень понял смылс этого

Copy link
Author

Choose a reason for hiding this comment

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

не нужно, удалила


/**
* Available types of entries. Used for speed optimization to avoid class casting.
* TODO check the possibility of using sealed classes for this purpose.
Copy link
Contributor

Choose a reason for hiding this comment

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

Да, проще будет sealed классами

Copy link
Contributor

Choose a reason for hiding this comment

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

Или можно взять наш кастомный адаптер из основного проекта

Copy link
Author

Choose a reason for hiding this comment

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

пока тоже нет необходимости, вообще класс лишний


private var unreadCount = 0

private companion object {
Copy link
Contributor

Choose a reason for hiding this comment

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

companion object
Размещаем внизу

Copy link
Author

@epryamonosova epryamonosova Nov 25, 2024

Choose a reason for hiding this comment

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

конкретно здесь пока вообще не нужен удалила

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