Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在寻找适用于 Android 的后端驱动 UI 库,并遇到了用于声明式 UI 的 Litho。我想知道是否有任何 Litho 的帮助程序/扩展库可以生成基于 JSON 的 UI。
不是我们所知道的。但是由于它的声明性,你自己构建一个并不难。从概念上讲,您只需要将所有 props 从 json 字段传播到 Component props 和 Component 类型的特殊字段。