Skip to content

Conversation

@bohdanprog
Copy link
Contributor

That problem occurred only on the Android platform because we missed the correct implementation for the Defs component.

Summary

Defs should extend from RenderableView and should have base methods. Previously, DefsView was extended by DefinitionView

Fixed issues:
#2615
#2616

Test Plan

You can easily run an example application with Test2615 and Test2616, which I've created.

What's required for testing (prerequisites)?

The app shouldn't crash.

Compatibility

OS Implemented
Android

@bohdanprog bohdanprog requested a review from jakex7 May 2, 2025 12:13

@SuppressLint("ViewConstructor")
class DefsView extends DefinitionView {
class DefsView extends RenderableView {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DefinitionView is the exact fit for Defs; instead of changing it to Renderable, we should move the necessary functions from Renderable to Definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants