Skip to end of banner
Go to start of banner

No Results Screen

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Here, you can read about the customization of the no-results screen.


UI customization


Bottom navigation bar

In order to inject your own view for the bottom navigation bar, pass your custom NoResultsNavigationBarBottomAdapter implementation to GiniCapture.Builder:

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:

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

  • No labels