Skip to content

Commit

Permalink
Merge pull request #15 from prochazkajp/master
Browse files Browse the repository at this point in the history
Fix offlineRetryText method calls in SimpleStatefulLayout
  • Loading branch information
jakubkinst authored Feb 22, 2019
2 parents 86e3ce0 + b154385 commit af4a3dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void setOfflineRetryOnClickListener(OnClickListener listener) {


public void setOfflineRetryText(@StringRes int textResourceId) {
setOfflineText(getResources().getString(textResourceId));
setOfflineRetryText(getResources().getString(textResourceId));
}


Expand Down Expand Up @@ -232,7 +232,7 @@ private void init(Context context, AttributeSet attrs) {

// setState custom offline retry text
if(a.hasValue(R.styleable.SflStatefulLayout_offlineRetryText)) {
setOfflineText(a.getString(R.styleable.SflStatefulLayout_offlineRetryText));
setOfflineRetryText(a.getString(R.styleable.SflStatefulLayout_offlineRetryText));
}

if(a.hasValue(R.styleable.SflStatefulLayout_offlineImageDrawable)) {
Expand Down

0 comments on commit af4a3dc

Please sign in to comment.