单项选择题在Compose中,哪个修饰符用于增加间隙()
A.border
B.padding
C.margin
D.offset
您可能感兴趣的试卷
你可能感兴趣的试题
1.单项选择题在Compose中,哪个修饰符用于添加边框()
A.border
B.padding
C.margin
D.offset
2.单项选择题在Compose中,哪个修饰符用于设置组件的大小()
A.size
B.background
C.padding
D.offset
3.单项选择题Modifier在Compose中的作用是什么()
A.影响组件的样式
B.定义组件的行为
C.处理组件的逻辑
D.控制组件的生命周期
4.单项选择题Compose中的组件是如何声明的()
A.使用@Composable注解的函数
B.使用XML文件
C.使用Java类
D.使用Kotlin对象
5.单项选择题Jetpack Compose使用哪种编程模型编写UI()
A.声明式UI
B.命令式UI
C.事件驱动UI
D.响应式UI
6.单项选择题Kotlin中哪个关键字用于声明一个数据类()
A.data
B.model
C.struct
D.type
7.单项选择题Kotlin中哪个关键字用于声明一个单例对象()
A.singleton
B.object
C.unique
D.instance
8.单项选择题Kotlin中哪个关键字用于声明一个开放类()
A.open
B.public
C.class
D.external
9.单项选择题Kotlin中类成员默认是什么访问权限()
A.public
B.private
C.protected
D.internal
10.单项选择题Kotlin中使用哪个关键字来创建一个类()
A.class
B.type
C.struct
D.model
最新试题
在创建DAO时,哪个注解用来定义执行简单插入的方法()
题型:单项选择题
在WorkManager中,哪个方法用于检查工作是否已被取消()
题型:单项选择题
以下哪个不是Room提供的方法()
题型:单项选择题
在HomeScreen中,homeUiState的作用是什么()
题型:单项选择题
以下哪个是创建数据库实例的必要条件()
题型:单项选择题
ViewModel的数据会在Android系统销毁并重新创建activity时丢失。
题型:判断题
在Room中,哪个注解用来定义更复杂的数据库操作()
题型:单项选择题
在WorkManager中,哪种状态表示工作已完成()
题型:单项选择题
在WorkManager中,哪个方法用于设置工作的唯一性()
题型:单项选择题
在ItemEntryViewModel中,哪个函数用于将商品插入到Room数据库中()
题型:单项选择题