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

MenuCell title update issue #1651

Closed
JulianKast opened this issue Mar 31, 2021 · 0 comments
Closed

MenuCell title update issue #1651

JulianKast opened this issue Mar 31, 2021 · 0 comments
Labels
5.1 Release Issues introduced by 5.1 release candidate bug A defect in the library

Comments

@JulianKast
Copy link
Contributor

Bug Report

When testing the MenuManger on the 5.1.0_RC. Updating the title of a menu cell inside a MenuSelectionListener listener does not work.

Reproduction Steps
  1. Create a menu with menu cells
  2. In one of the cells MenuSelectionListener update the title of one of the cells
  3. Send the menu updates.
  final MenuCell mainCell1 = new MenuCell("Test Cell 1 (speak)", "Secondary Text", "Tertiary Text", livio, livio, null, new MenuSelectionListener() {
            @Override
            public void onTriggered(TriggerSource trigger) {
            }
        });

        final MenuCell mainCell2 = new MenuCell("Test Cell 2", "Secondary Text", null, null, null, voice2, null);
        mainCell2.setMenuSelectionListener(new MenuSelectionListener() {
            @Override
            public void onTriggered(TriggerSource trigger) {
                mainCell1.setTitle("HI");
                sdlManager.getScreenManager().setMenu(Arrays.asList(mainCell1, mainCell2));
            }
        });

        sdlManager.getScreenManager().setMenu(Arrays.asList(mainCell1, mainCell2));

Expected Behavior

MenuCell's title should be updated.

Observed Behavior

MenuCell's title is not updated.

OS & Version Information
  • Android Version: 9
  • SDL Android Version: 5.1.0_RC
  • Testing Against: Synce 3.0 and Core 7.1.0-RC
@jordynmackool jordynmackool added 5.1 Release Issues introduced by 5.1 release candidate bug A defect in the library and removed 5.1 Release Issues introduced by 5.1 release candidate labels Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.1 Release Issues introduced by 5.1 release candidate bug A defect in the library
Projects
None yet
Development

No branches or pull requests

3 participants