You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
I wrote a very simple demo based on the onboarding/HelloWorldActivity code in litho(v2024.10.07)/sample, but I can't see any components when using flipper inspect.
This is my demo flipper screenshot
This is official demo flipper screenshot
I don't know why this happens, I need help,thank you!!!
The text was updated successfully, but these errors were encountered:
`
class MagpieCardDemoApplication : Application() {
override fun onCreate() {
super.onCreate()
subscribe(DebugEventLogger())
Fresco.initialize(this)
FrescoVito.initialize()
SoLoader.init(this, false)
if (FlipperUtils.shouldEnableFlipper(this)) {
val client = AndroidFlipperClient.getInstance(this)
val uiDebuggerContext = create(this)
enable(uiDebuggerContext)
client.addPlugin(UIDebuggerFlipperPlugin(uiDebuggerContext))
val descriptorMapping = DescriptorMapping.withDefaults()
LithoFlipperDescriptors.add(descriptorMapping)
client.addPlugin(InspectorFlipperPlugin(this, descriptorMapping))
client.addPlugin(SectionsFlipperPlugin(true))
client.start()
}
}
}`
Code in my activity:
`
class MagpieCardDemoActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val utf8RichText = ""
val c = ComponentContext(this)
setContentView(LithoView.create(this, Text.create(c).text("Hello World!").build()))
}
}`
It's almost the same like sample, so do I lost some other key condition?
I wrote a very simple demo based on the onboarding/HelloWorldActivity code in litho(v2024.10.07)/sample, but I can't see any components when using flipper inspect.
This is my demo flipper screenshot
This is official demo flipper screenshot
I don't know why this happens, I need help,thank you!!!
The text was updated successfully, but these errors were encountered: