This repository has been archived by the owner on Dec 26, 2021. It is now read-only.
v2.0.0
- Added methods:
getTitleText()
,getTitleTextColor()
,getSubtitle()
,getSubtitleTextColor()
,getRetryButtonText()
,isTitleVisible()
,isSubtitleVisible()
,isRetryButtonVisible()
. - Renamed methods:
setErrorImageResource(int)
->setImageResource()
,
setErrorImageDrawable(Drawable)
->setImageDrawable(Drawable)
,
setErrorImageBitmap(Bitmap)
->setImageBitmap(Bitmap)
,
setErrorTitle(String)
->setTitle(String)
,
setErrorTitle(int)
->setTitle(int)
,
setErrorTitleColor(int)
->setTitleColor(int)
,
setErrorSubtitle(String)
->setSubtitle(String)
,
setErrorSubtitle(int)
->setSubtitle(int)
,
setErrorSubtitleColor(int)
->setSubtitleColor(int)
- Renamed attributes:
ev_errorTitle
->ev_title
,
ev_errorTitleColor
->ev_titleColor
,
ev_errorSubtitle
->ev_subtitle
,
ev_errorSubtitleColor
->ev_subtitleColor
- Made it possible to set the retry button text in xml. You can now use
ev_retryButtonText="string"
. - Moved RetryListener inside ErrorView. (It's now under
tr.xip.errorview.ErrorView
, and nottr.xip.errorview
). - Renamed
ErrorViewStatusCodes
toHttpStatusCodes
.