From 1e75fc95cee505c3391c74bd4e5f74cc15ee9dec Mon Sep 17 00:00:00 2001 From: Constantine Date: Sun, 10 Feb 2019 23:15:05 +0300 Subject: [PATCH] Add deprecated annotation --- .../main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt b/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt index 08b3f88..899a68d 100644 --- a/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt +++ b/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt @@ -119,6 +119,7 @@ class BackdropBehavior : CoordinatorLayout.Behavior { /** * @deprecated — use [BackdropBehavior.attachBackLayout]. This method will be removed in version 0.1.7+ */ + @Deprecated("Use BackdropBehavior.attachBackLayout") fun attachToolbar(@IdRes toolbarId: Int) { this.toolbarId = toolbarId }