Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Added missing javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderEggers committed Feb 27, 2018
1 parent 5dfe7b6 commit c8c522f
Show file tree
Hide file tree
Showing 2 changed files with 528 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.hitogo.examples;

import android.arch.lifecycle.Lifecycle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import org.hitogo.alert.core.AlertType;
Expand Down Expand Up @@ -67,20 +68,20 @@ public Integer provideDefaultViewAlertOverlayContainerId() {

@Nullable
@Override
public Integer provideDefaultAlertTitleViewId(AlertType type) {
public Integer provideDefaultAlertTitleViewId(@NonNull AlertType type) {
return R.id.title;
}

@Nullable
@Override
public Integer provideDefaultAlertTextViewId(AlertType type) {
public Integer provideDefaultAlertTextViewId(@NonNull AlertType type) {
return R.id.text;
}

@Nullable
@Override
@SuppressWarnings("unchecked")
public <T extends HitogoAnimation> T provideDefaultAlertAnimation(AlertType type) {
public <T extends HitogoAnimation> T provideDefaultAlertAnimation(@NonNull AlertType type) {
return (T) TopAnimation.build();
}

Expand Down
Loading

0 comments on commit c8c522f

Please sign in to comment.