@@ -0,0 +1,1610 @@
+/*%0D%0A * Copyright 2017 Matthew Tamlin%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A *     http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0A%0D%0Apackage com.matthewtamlin.mixtape.library.base_mvp;%0D%0A%0D%0Aimport android.view.View;%0D%0A%0D%0A/**%0D%0A * The intermediary between a data source and a view. Contains the business logic for updating the%0D%0A * data source, processing data source callbacks, driving the view, and processing view callbacks.%0D%0A */%0D%0Apublic interface BasePresenter%3CS extends BaseDataSource, V extends View%3E %7B%0D%0A%09/**%0D%0A%09 * Sets the data source and registers this presenter for callbacks. Passing null removes any%0D%0A%09 * existing data source without setting a new one.%0D%0A%09 *%0D%0A%09 * @param dataSource%0D%0A%09 * %09%09the data source to use%0D%0A%09 */%0D%0A%09void setDataSource(S dataSource);%0D%0A%0D%0A%09/**%0D%0A%09 * @return the current data source, null if there is none%0D%0A%09 */%0D%0A%09S getDataSource();%0D%0A%0D%0A%09/**%0D%0A%09 * Sets the view and registers this presenter. Passing null removes any existing view without%0D%0A%09 * setting a new one.%0D%0A%09 *%0D%0A%09 * @param view%0D%0A%09 * %09%09the view to use%0D%0A%09 */%0D%0A%09void setView(V view);%0D%0A%0D%0A%09/**%0D%0A%09 * @return the current view, may be null%0D%0A%09 */%0D%0A%09V getView();%0D%0A%7D

Revert "Deleted BasePresenter"