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

✨ Implement business logic for OtherProfileScreen (+apply navigation) #465

Merged
merged 9 commits into from
Feb 21, 2025

Conversation

github-actions[bot]
Copy link
Contributor

Original issue description
  • business logic (viewmodel)
  • navigation (from home, comment, detail_recipe page)

closes #464

This commit introduces the ability to navigate to a user's profile page directly from a feed item. The following changes were made:

-   Added `HomeEventListener` interface to handle navigation events related to the home screen.
-   Implemented `onNavigateToProfile` method within the `HomeViewModel` to trigger navigation to a user's profile.
-   Added `homeEventListener` to `item_feed.xml` to detect click events.
-   Modified `item_feed.xml` layout to include user profile picture and username within a clickable `ConstraintLayout`, triggering navigation to the user's profile.
-   Added logic to `HomeFragment` to navigate to either the current user's profile or another user's profile based on the recipe owner.
-   Added click event listener to app logo for test.
-   Modify username view for showing it.
@Hogu59 Hogu59 merged commit defdc56 into an/dev Feb 21, 2025
2 checks passed
@Hogu59 Hogu59 deleted the an/feat/464 branch February 21, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AN Android ✨ feature new feature 💄 UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant