File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
EmptyLayout/src/com/kanak/emptylayout Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ public boolean isEmptyButtonShown() {
350350 * Sets if a button will be shown in the empty view
351351 * @param showEmptyButton will a button be shown in the empty view
352352 */
353- public void setEmptyButtonShown (boolean showEmptyButton ) {
353+ public void setShowEmptyButton (boolean showEmptyButton ) {
354354 this .mShowEmptyButton = showEmptyButton ;
355355 }
356356
@@ -366,7 +366,7 @@ public boolean isLoadingButtonShown() {
366366 * Sets if a button will be shown in the loading view
367367 * @param showEmptyButton will a button be shown in the loading view
368368 */
369- public void setLoadingButtonShown (boolean showLoadingButton ) {
369+ public void setShowLoadingButton (boolean showLoadingButton ) {
370370 this .mShowLoadingButton = showLoadingButton ;
371371 }
372372
@@ -382,7 +382,7 @@ public boolean isErrorButtonShown() {
382382 * Sets if a button will be shown in the error view
383383 * @param showEmptyButton will a button be shown in the error view
384384 */
385- public void setErrorButtonShown (boolean showErrorButton ) {
385+ public void setShowErrorButton (boolean showErrorButton ) {
386386 this .mShowErrorButton = showErrorButton ;
387387 }
388388
Original file line number Diff line number Diff line change @@ -52,13 +52,20 @@ emptyLayout.setLoadingMessage("Please wait...");
5252Some useful methods are given below
5353* ` showEmpty `
5454* ` showLoading `
55+ * ` showError `
5556* ` setLoadingView `
5657* ` setEmptyView `
5758* ` setErrorView `
5859* ` setLoadingAnimation `
5960* ` setErrorMessage `
6061* ` setLoadingMessage `
6162* ` setEmptyMessage `
63+ * ` setEmptyViewButtonClickListener `
64+ * ` setLoadingViewButtonClickListener `
65+ * ` setErrorViewButtonClickListener `
66+ * ` setShowEmptyButton `
67+ * ` setShowLoadingButton `
68+ * ` setShowErrorButton `
6269
6370and there is more...
6471
You can’t perform that action at this time.
0 commit comments