Skip to content

Commit

Permalink
Merge pull request #6 from khalid-mahmood/patch-1
Browse files Browse the repository at this point in the history
Update StatusView.java
  • Loading branch information
iammert committed Aug 10, 2017
2 parents 60e41af + f9b1f61 commit e7ef5c2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion library/src/main/java/iammert/com/library/StatusView.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,14 @@ public void setStatus(final Status status) {
if (status == Status.COMPLETE)
handler.postDelayed(autoDismissOnComplete, DISMISS_ON_COMPLETE_DELAY);
}

/**
*
* @return Status object
*/
public Status getStatus(){
return this.currentStatus;
}

private View getCurrentView(Status status) {
if (status == Status.IDLE)
return null;
Expand Down

0 comments on commit e7ef5c2

Please sign in to comment.