TheFinestArtist / FinestWebView-Android

Beautiful and customizable Android Activity that shows web pages within an app.
https://finestwebview.web.app
2.32k stars 531 forks source link

[Feature Requests] Customized ErrorView? #33

Open dongjingun opened 8 years ago

TheFinestArtist commented 8 years ago

Will my best to add this feature.

TheFinestArtist commented 8 years ago

@dongjingun I have been thinking how should I receive your error view and what kinds of error would there be.

Error Type

The method will look like this.

generalErrorView(@LayoutRes int layoutRes);
generalErrorView(@LayoutRes int layoutRes, @IdRes int reloadButtonRes);

noConnectionErrorView(@LayoutRes int layoutRes);
noConnectionErrorView(@LayoutRes int layoutRes, @IdRes int reloadButtonRes);

notAvailableErrorView(@LayoutRes int layoutRes);
notAvailableErrorView(@LayoutRes int layoutRes, @IdRes int reloadButtonRes);

What do you think? Let me know if you have any better ideas!

TheFinestArtist commented 8 years ago

Loading View

loadingSplashView(@LayoutRes int layoutRes);
azzits commented 7 years ago

Thanks for the great library. Did you added this feature for showing error? Let me know if you are including this in next release.