Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can inject your own view for the bottom navigation bar by passing your custom HelpNavigationBarBottomAdapter implementation to GiniCapture.Builder:

Code Block
languagekotlinjava
HelpNavigationBarBottomAdapter customHelpNavigationBarBottomAdapter = new CustomHelpNavigationBarBottomAdapter();

GiniCapture.newInstance()
        .setHelpNavigationBarBottomAdapter(customHelpNavigationBarBottomAdapter)
        .build();

...

You can show your own help screens and append them to the list on the main help screen. To do this, pass the title and activity for each screen to the GiniCapture.Builder using a list of HelpItem.Custom objects:

Code Block
languagekotlinjava
List<HelpItem.Custom> customHelpItems = new ArrayList<>();

customHelpItems.add(new HelpItem.Custom(R.string.custom_help_screen_title,
        new Intent((Context) this, CustomHelpActivity.class)));

GiniCapture.newInstance()
        .setCustomHelpItems(customHelpItems)
        .build();

...