Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@xiprox xiprox released this 05 Apr 11:42
· 83 commits to master since this release
  • 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 not tr.xip.errorview).
  • Renamed ErrorViewStatusCodes to HttpStatusCodes.