From a7e121751ca5da51e8ab7d3dfd4fb65a501af500 Mon Sep 17 00:00:00 2001 From: Hannes Dorfmann Date: Fri, 4 Sep 2015 18:05:53 +0200 Subject: [PATCH] Update to support lib 23.0.1 --- build.gradle | 6 +++--- .../mosby/mvp/delegate/BaseMvpDelegateCallback.java | 3 ++- .../mvp/delegate/BaseMvpViewStateDelegateCallback.java | 6 ++++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 4e78a239..db131b22 100644 --- a/build.gradle +++ b/build.gradle @@ -42,9 +42,9 @@ ext { javaTargetCompatibility = JavaVersion.VERSION_1_7 // Libraries - appcompat7Version = '23.0.0' - supportAnnotations = '23.0.0' - recyclerviewVersion = '23.0.0' + appcompat7Version = '23.0.1' + supportAnnotations = '23.0.1' + recyclerviewVersion = '23.0.1' // Libraries for samples fragmentargsVersion = '2.1.0' diff --git a/mvp/src/main/java/com/hannesdorfmann/mosby/mvp/delegate/BaseMvpDelegateCallback.java b/mvp/src/main/java/com/hannesdorfmann/mosby/mvp/delegate/BaseMvpDelegateCallback.java index 4b85605c..9421cc8a 100644 --- a/mvp/src/main/java/com/hannesdorfmann/mosby/mvp/delegate/BaseMvpDelegateCallback.java +++ b/mvp/src/main/java/com/hannesdorfmann/mosby/mvp/delegate/BaseMvpDelegateCallback.java @@ -17,6 +17,7 @@ package com.hannesdorfmann.mosby.mvp.delegate; import android.app.Activity; +import android.support.annotation.NonNull; import com.hannesdorfmann.mosby.mvp.MvpPresenter; import com.hannesdorfmann.mosby.mvp.MvpView; @@ -39,7 +40,7 @@ public interface BaseMvpDelegateCallback createViewState(); + @NonNull public ViewState createViewState(); /** - * This method will be called by {@link MvpViewStateInternalDelegate} to inform that restoring the view state + * This method will be called by {@link MvpViewStateInternalDelegate} to inform that restoring the + * view state * is in progress. * * @param restoringViewState true, if restoring viewstate is in progress, otherwise false