Skip to content

Idea Details AppBar as Custom View#2

Merged
bgrebennikov merged 1 commit intomainfrom
presentation
Apr 10, 2022
Merged

Idea Details AppBar as Custom View#2
bgrebennikov merged 1 commit intomainfrom
presentation

Conversation

@bgrebennikov
Copy link
Copy Markdown
Collaborator

For convenience, the app bar was wrapped as custom view,
you no need duplicate xml code for reuse it in other screens.

Just get the appbar from custom view:

<com.github.bgrebennikov.devbuff.presentation.ui.customViews.AppbarIdeaDetails
            android:id="@+id/appBar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:title="Idea Name"
            app:subtitle="Boris Grebennikov"
            app:imageFromUserId="@{ideaModel.ownerIdea.id}"
 />

@bgrebennikov bgrebennikov merged commit 7d6d50f into main Apr 10, 2022
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.

1 participant