How to instantiate generated builder for EntityView? #1569
-
According to docs, to obtain builder for a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I see now that in the runtime |
Beta Was this translation helpful? Give feedback.
I see now that in the runtime
EntityViewManager.createBuilder
indeed returns a view-specific builder, e.g.CatViewBuilder
which is an implementation ofEntityViewBuilderBase
. There must be some forced casting, though, becausecreateBuilder
returnsEntityViewBuilder
which has thebuild
but none of the view-specific getters/setters so obviously they can't be used in the source code.