Migrate to custom plugin
Summary: In this step, we want to visualize our mammals in a custom card view. For this reason, we need to replace `createTablePlugin` with a React component that extends `FlipperPlugin`. Reviewed By: jknoxville Differential Revision: D15183324 fbshipit-source-id: 329cdc5c6cbd7e1435538e8cdddf049d914ff221
This commit is contained in:
committed by
Facebook Github Bot
parent
a276af9c1f
commit
5afb148ffa
@@ -33,9 +33,9 @@ class SeaMammalFlipperPlugin : FlipperPlugin {
|
||||
connection = null
|
||||
}
|
||||
|
||||
override fun runInBackground(): Boolean = false
|
||||
override fun runInBackground(): Boolean = true
|
||||
|
||||
private fun newRow(row: FlipperObject) {
|
||||
connection?.send("newRow", row)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user