Versions Compared

Key

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

...

Code Block
languagekotlin
NoResultsNavigationBarBottomAdapter customNoResultsNavigationBarBottomAdapter = new CustomNoResultsNavigationBarBottomAdapter();

GiniCapture.newInstance()
        .setNoResultsNavigationBarBottomAdapter(customNoResultsNavigationBarBottomAdapter)
        .build();

Custom Help Screens

In order to show your own help screens, appended to the list on the main help screen, pass the title and activity for each screen to the GiniCapture.Builder using a list of HelpItem.Custom objects:

Code Block
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();