diff --git a/README.md b/README.md index bd4ff95..dc5dd2c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ - +# ⛔️ DEPRECATED +This is no longer supported, please consider using [Jetpack Compose](https://developer.android.com/develop/ui/compose) instead. -## A delicious framework for building modularized Android user interfaces, by Yelp. + +### A delicious framework for building modularized Android user interfaces, by Yelp. +[![No Maintenance Intended](https://unmaintained.tech/badge.svg)]() ![Maven Central](https://img.shields.io/maven-central/v/com.yelp.android/bento.svg) [![Build Status](https://travis-ci.org/Yelp/bento.svg?branch=master)](https://travis-ci.org/Yelp/bento) [![Twitter](https://img.shields.io/badge/Twitter-@YelpEngineering-blue.svg)](https://twitter.com/YelpEngineering) @@ -54,9 +57,9 @@ Bento can be setup with Gradle: ```groovy // Top level build.gradle allprojects { - repositories { - mavenCentral() - } + repositories { + mavenCentral() + } } // Module level build.gradle diff --git a/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt b/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt index fccc3d7..c9abaa6 100644 --- a/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt +++ b/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt @@ -11,9 +11,10 @@ import androidx.compose.ui.platform.ComposeView import com.yelp.android.bento.core.ComponentViewHolder /** - * ViewHolder which allows compatability with Jetpack Compose. Basically, this lets you write the + * ViewHolder which allows compatibility with Jetpack Compose. Basically, this lets you write the * view holders view code with Compose. */ +@Deprecated(message = "Bento is deprecated. Please implement your screen with full Jetpack Compose.") abstract class ComposeViewHolder : ComponentViewHolder() { private lateinit var composeView: ComposeView