-
Couldn't load subscription status.
- Fork 55
Hello Android XR Updates #19
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
Conversation
Author: azeppenfeld <[email protected]> Date: Fri Oct 24 15:21:29 2025 -0700 Updating for best practices Author: azeppenfeld <[email protected]> Date: Thu Oct 16 18:48:28 2025 -0700 Cleaning up viewmodel Author: azeppenfeld <[email protected]> Date: Mon Oct 13 14:02:50 2025 -0700 Added ability to change material colors and other properties Author: azeppenfeld <[email protected]> Date: Thu Oct 2 18:30:49 2025 -0700 Added ability to rotate, scale, and change the offset of a GLTF Author: azeppenfeld <[email protected]> Date: Wed Oct 1 13:26:55 2025 -0700 upgrading to alpha07 and a few other minor changes Adding bugdroid controller Author: azeppenfeld <[email protected]> Date: Fri Sep 19 13:23:11 2025 -0700 Added start/stop animation when BugDroid is shown Change-Id: I8101c77c5510413074f57c3fc12261d3445ac067
Summary of ChangesHello @amyZepp, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly upgrades the 'Hello Android XR' application by introducing a robust system for controlling a 3D Bugdroid model. It integrates a new ViewModel for managing UI state and provides interactive controls for manipulating the model's appearance and position, such as scale, rotation, offset, and material properties. This enhancement makes the application more interactive and showcases advanced capabilities of the Android XR framework. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This is a substantial and well-executed update that refactors the application to use a ViewModel with a unidirectional data flow, which greatly improves state management and overall architecture. The addition of controls for manipulating the Bugdroid model's properties is a great new feature. My review includes a few suggestions to address a critical issue with model caching and session handling, improve state validation within the ViewModel, and enhance code clarity and maintainability.
app/src/main/java/com/example/helloandroidxr/bugdroid/BugdroidController.kt
Show resolved
Hide resolved
app/src/main/java/com/example/helloandroidxr/viewmodel/BugdroidViewModel.kt
Show resolved
Hide resolved
app/src/main/java/com/example/helloandroidxr/viewmodel/BugdroidViewModel.kt
Show resolved
Hide resolved
Change-Id: Ie6d09c7d8a2860dc3cbc848a2a5c329a680e7461
Author: azeppenfeld [email protected]
Date: Fri Oct 24 15:21:29 2025 -0700
Author: azeppenfeld [email protected]
Date: Thu Oct 16 18:48:28 2025 -0700
Author: azeppenfeld [email protected]
Date: Mon Oct 13 14:02:50 2025 -0700
Author: azeppenfeld [email protected]
Date: Thu Oct 2 18:30:49 2025 -0700
Author: azeppenfeld [email protected]
Date: Wed Oct 1 13:26:55 2025 -0700
Author: azeppenfeld [email protected]
Date: Fri Sep 19 13:23:11 2025 -0700