Back to project page Android-CleanArchitecture.
The source code is released under:
Apache License
If you think the Android project Android-CleanArchitecture listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (C) 2014 android10.org. All rights reserved. * @author Fernando Cejas (the android10 coder) *//* ww w. ja v a2 s. c om*/ package com.fernandocejas.android10.sample.presentation.view; import android.content.Context; /** * Interface representing a View that will use to load data. */ public interface LoadDataView { /** * Show a view with a progress bar indicating a loading process. */ void showLoading(); /** * Hide a loading view. */ void hideLoading(); /** * Show a retry view in case of an error when retrieving data. */ void showRetry(); /** * Hide a retry view shown if there was an error when retrieving data. */ void hideRetry(); /** * Show an error message * * @param message A string representing an error. */ void showError(String message); /** * Get a {@link android.content.Context}. */ Context getContext(); }