[android-auto] Refactoring #4989

Merged
root merged 1 commit from github/fork/AndrewShkrob/android-auto/refactoring into aa 2023-04-17 20:26:01 +00:00
Member

Links to #4936

Links to https://git.omaps.dev/organicmaps/organicmaps/pulls/4936
Author
Member

mentioned in merge request !4936

mentioned in merge request !4936
Author
Member

requested review from @rtsisyk

requested review from `@rtsisyk`
Author
Member

requested review from @biodranik

requested review from `@biodranik`
biodranik commented 2023-04-15 15:39:54 +00:00 (Migrated from github.com)

Add TODO why is it commented, and when it should be uncommented?

Add TODO why is it commented, and when it should be uncommented?
biodranik commented 2023-04-15 15:41:33 +00:00 (Migrated from github.com)

Why the size of categories is limited? We have complains from the carplay users about it.

Why the size of categories is limited? We have complains from the carplay users about it.
biodranik commented 2023-04-15 15:42:35 +00:00 (Migrated from github.com)

It's better to use the following pattern:

TODO(name or initials or nickname): show that dialog
It's better to use the following pattern: ``` TODO(name or initials or nickname): show that dialog ```
biodranik commented 2023-04-15 15:43:23 +00:00 (Migrated from github.com)

Is it a good idea to use annotations like NonNull, etc.?

Is it a good idea to use annotations like `NonNull`, etc.?
biodranik commented 2023-04-15 15:44:37 +00:00 (Migrated from github.com)

@vng what do you think about moving { to a newline?

`@vng` what do you think about moving { to a newline?
biodranik commented 2023-04-15 15:46:01 +00:00 (Migrated from github.com)

approved this merge request

approved this merge request
Author
Member

It is limited to MAX_CATEGORIES_SIZE according to the AA restrictions.
https://developer.android.com/reference/androidx/car/app/constraints/ConstraintManager

It is limited to `MAX_CATEGORIES_SIZE` according to the AA restrictions. https://developer.android.com/reference/androidx/car/app/constraints/ConstraintManager
Author
Member

Btw, that's why I created CATEGORIES list. We should discuss what categories (and their priority) should be displayed on this screen.

Btw, that's why I created `CATEGORIES` list. We should discuss what categories (and their priority) should be displayed on this screen.
vng commented 2023-04-17 17:53:44 +00:00 (Migrated from github.com)

Ту не будет проблем? Где вызывается эта getBookmarks() ?

Ту не будет проблем? Где вызывается эта getBookmarks() ?
vng commented 2023-04-17 17:55:08 +00:00 (Migrated from github.com)

approved this merge request

approved this merge request
Author
Member

А какие проблемы могут быть? В createBookmarkCategoriesList()

А какие проблемы могут быть? В `createBookmarkCategoriesList()`
vng commented 2023-04-17 18:06:16 +00:00 (Migrated from github.com)

Если мы не будем показывает в списке невидимые категории, то как юзер их сделает видимыми?
Сейчас видимость - это галка чекбокса в андроид. Или я не прав тут?

Если мы не будем показывает в списке невидимые категории, то как юзер их сделает видимыми? Сейчас видимость - это галка чекбокса в андроид. Или я не прав тут?
Author
Member

Если юзер хочет сделать категорию видимой, то пусть это делает через телефон
AA - это же компаньон. Тут только основной функционал должен быть.

Если юзер хочет сделать категорию видимой, то пусть это делает через телефон AA - это же компаньон. Тут только основной функционал должен быть.
vng commented 2023-04-17 18:17:29 +00:00 (Migrated from github.com)

А ну ок, я не увидел /car/screens/ :)

А ну ок, я не увидел /car/screens/ :)
biodranik commented 2023-04-17 20:25:36 +00:00 (Migrated from github.com)

Можно посмотреть, что предлагают гугл с эплом, и добавить туда туалеты )

А вообще, главное это заправки и rest area.

Можно посмотреть, что предлагают гугл с эплом, и добавить туда туалеты ) А вообще, главное это заправки и rest area.
biodranik (Migrated from github.com) approved these changes 2025-03-22 17:52:54 +00:00
vng (Migrated from github.com) approved these changes 2025-03-22 17:52:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps#4989
No description provided.