SnapActivity

public final class SnapActivity extends AppCompatActivity implements SnapFragmentResultListener

SnapActivity offers the snapping UI including all the logic to your application. Instantiate via one of the provided class methods depending on the desired operation mode.

Constructors

Link copied to clipboard
SnapActivity SnapActivity()

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
Unit onBackPressed()
Link copied to clipboard
Boolean onSupportNavigateUp()
Link copied to clipboard
Unit snapFragmentDidSnapSportEvent(SnapFragment fragment, SportEventSnapResultEntry sportEvent)

Called when the SnapFragment snaps a sport event. Snapping will automatically stop since we assume that you will navigate to a new screen. If you want to continue snapping, call continueSnapping on the SnapFragment. Note: if you want to dismiss the SnapFragment, you need to do so. SnapFragment does not dismiss itself.

Link copied to clipboard
Unit snapFragmentShouldShowHelp(SnapFragment fragment, String helpUrl)

Called when the user presses the help button.