Skip to content

Commit

Permalink
feat: Bento deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
YingChen0605 committed Jul 9, 2024
1 parent 02928ab commit d22eea6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<img src="./documentation/images/bento_logo.png" width="80%"/>
# ⛔️ DEPRECATED <Bento>
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.
<img src="./documentation/images/bento_logo.png" width="20%"/>

### 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/[email protected])](https://twitter.com/YelpEngineering)
Expand Down Expand Up @@ -54,9 +57,9 @@ Bento can be setup with Gradle:
```groovy
// Top level build.gradle
allprojects {
repositories {
mavenCentral()
}
repositories {
mavenCentral()
}
}
// Module level build.gradle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<P, T> : ComponentViewHolder<P, T>() {

private lateinit var composeView: ComposeView
Expand Down

0 comments on commit d22eea6

Please sign in to comment.