Skip to content

[SDK-338] Inbox Header Customization#1054

Open
franco-zalamena-iterable wants to merge 2 commits into
masterfrom
feature/sdk-338-mobile-inbox-customization
Open

[SDK-338] Inbox Header Customization#1054
franco-zalamena-iterable wants to merge 2 commits into
masterfrom
feature/sdk-338-mobile-inbox-customization

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown
Contributor

@franco-zalamena-iterable franco-zalamena-iterable commented May 14, 2026

🔹 Jira Ticket(s) if any

✏️ Description

This Pr is meant to add easy out of the box customization for the Inbox Header.
Currently we only have a modifiable title in the inbox, which is a bit limited, if someone just wants a back button that requires a whole wrapper on the fragment or recreating the whole fragment just for that.
To address this concern it is now possible to opt-in two pre built headers and customizable one.

  • Default: Just title
  • WithBackButton: Title and a left back button
  • Custom: You can pass a layout resource to be rendered in the header, this layout can contain Iterable specific ids to add actions and automatic customization from the fragment
Default WithBackButton
image image

Things to consider:

  • Backward compatible: None is the default for every existing entry point, current integrators see no change.
  • Tests: 13 unit tests in iterableapi-ui (Robolectric, new module test harness). Covers all four variants and apply() state transitions.

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