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) */// w w w.ja va2 s. c om package com.fernandocejas.android10.sample.presentation.view; import com.fernandocejas.android10.sample.presentation.model.UserModel; import java.util.Collection; /** * Interface representing a View in a model view presenter (MVP) pattern. * In this case is used as a view representing a list of {@link UserModel}. */ public interface UserListView extends LoadDataView { /** * Render a user list in the UI. * * @param userModelCollection The collection of {@link UserModel} that will be shown. */ void renderUserList(Collection<UserModel> userModelCollection); /** * View a {@link UserModel} profile/details. * * @param userModel The user that will be shown. */ void viewUser(UserModel userModel); }