[android-auto] Refactoring #4989

Merged
root merged 1 commit from android-auto/refactoring into aa 2023-04-17 20:26:00 +00:00
Member
Links to https://git.omaps.dev/organicmaps/organicmaps/pulls/4936
rtsisyk reviewed 2023-04-15 15:26:54 +00:00
biodranik (Migrated from github.com) approved these changes 2023-04-15 15:46:01 +00:00
biodranik (Migrated from github.com) commented 2023-04-15 15:39:54 +00:00

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

Add TODO why is it commented, and when it should be uncommented?
@ -76,3 +77,4 @@
final Header.Builder builder = new Header.Builder();
builder.setStartHeaderAction(Action.BACK);
builder.setTitle(getCarContext().getString(R.string.categories));
return builder.build();
biodranik (Migrated from github.com) commented 2023-04-15 15:42:35 +00:00

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 (Migrated from github.com) commented 2023-04-15 15:41:33 +00:00

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 (Migrated from github.com) commented 2023-04-15 15:44:37 +00:00

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

@vng what do you think about moving { to a newline?
@ -12,1 +17,4 @@
{
@NonNull
private final RoutingController mRoutingController;
biodranik (Migrated from github.com) commented 2023-04-15 15:43:23 +00:00

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

Is it a good idea to use annotations like `NonNull`, etc.?
AndrewShkrob reviewed 2023-04-15 15:53:03 +00:00
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
AndrewShkrob reviewed 2023-04-15 16:03:32 +00:00
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 (Migrated from github.com) approved these changes 2023-04-17 17:55:08 +00:00
vng (Migrated from github.com) commented 2023-04-17 17:53:44 +00:00

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

Ту не будет проблем? Где вызывается эта getBookmarks() ?
AndrewShkrob reviewed 2023-04-17 17:58:22 +00:00
Author
Member

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

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

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

Если мы не будем показывает в списке невидимые категории, то как юзер их сделает видимыми? Сейчас видимость - это галка чекбокса в андроид. Или я не прав тут?
AndrewShkrob reviewed 2023-04-17 18:12:18 +00:00
Author
Member

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

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

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

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

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

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

Можно посмотреть, что предлагают гугл с эплом, и добавить туда туалеты ) А вообще, главное это заправки и rest area.
This repo is archived. You cannot comment on pull requests.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
3 participants
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-tmp#4989
No description provided.