Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
alamkanak committed Oct 13, 2013
1 parent 2aaa4ba commit d1217a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EmptyLayout/src/com/kanak/emptylayout/EmptyLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public boolean isEmptyButtonShown() {
* Sets if a button will be shown in the empty view
* @param showEmptyButton will a button be shown in the empty view
*/
public void setEmptyButtonShown(boolean showEmptyButton) {
public void setShowEmptyButton(boolean showEmptyButton) {
this.mShowEmptyButton = showEmptyButton;
}

Expand All @@ -366,7 +366,7 @@ public boolean isLoadingButtonShown() {
* Sets if a button will be shown in the loading view
* @param showEmptyButton will a button be shown in the loading view
*/
public void setLoadingButtonShown(boolean showLoadingButton) {
public void setShowLoadingButton(boolean showLoadingButton) {
this.mShowLoadingButton = showLoadingButton;
}

Expand All @@ -382,7 +382,7 @@ public boolean isErrorButtonShown() {
* Sets if a button will be shown in the error view
* @param showEmptyButton will a button be shown in the error view
*/
public void setErrorButtonShown(boolean showErrorButton) {
public void setShowErrorButton(boolean showErrorButton) {
this.mShowErrorButton = showErrorButton;
}

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,20 @@ emptyLayout.setLoadingMessage("Please wait...");
Some useful methods are given below
* `showEmpty`
* `showLoading`
* `showError`
* `setLoadingView`
* `setEmptyView`
* `setErrorView`
* `setLoadingAnimation`
* `setErrorMessage`
* `setLoadingMessage`
* `setEmptyMessage`
* `setEmptyViewButtonClickListener`
* `setLoadingViewButtonClickListener`
* `setErrorViewButtonClickListener`
* `setShowEmptyButton`
* `setShowLoadingButton`
* `setShowErrorButton`
and there is more...
Expand Down

0 comments on commit d1217a4

Please sign in to comment.