腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
@
PropertyName
在
使用
Firestore
的
Kotlin
中
不起作用
android
、
firebase
、
kotlin
、
serialization
、
google-cloud-firestore
我对
Firestore
有问题,因为@
PropertyName
在数据类
中
完全被忽略了。import com.google.firebase.database.
PropertyName
@get:
PropertyName
("player_uuid") @
PropertyName
("play
浏览 11
提问于2020-07-09
得票数 0
回答已采纳
2
回答
云修复
中
的
PropertyName
不适用于
Kotlin
java
、
android
、
kotlin
、
google-cloud-firestore
注释@
PropertyName
不是
在
Kotlin
中
序列化
的
!版本: com.google.firebase: firebase-
firestore
: 17.1.0 @
PropertyName
浏览 1
提问于2019-05-09
得票数 1
1
回答
Firestore
@
PropertyName
注释产生了奇怪
的
错误?
android
、
firebase
、
kotlin
、
google-cloud-firestore
以下是我
的
数据类: @set:
PropertyName
我
使用
的
是hName。那这个setHName到底是怎么回事?请帮我弄明白我哪里弄错了?我正在
使用
的
Fi还原版本:implementation platform('c
浏览 2
提问于2021-07-21
得票数 1
回答已采纳
1
回答
如何将@DocumentId注释用于
Firestore
字段?
android
、
firebase
、
kotlin
、
google-cloud-firestore
目前,我正在
使用
带注释
的
POJO将Fi还原文档集成到
Kotlin
应用程序
中
,以提取数据。作为其中
的
一部分,我还需要文档
的
ID。
在
我
的
等级档案里我有..。implementation 'com
浏览 1
提问于2019-10-31
得票数 2
2
回答
如何在
Kotlin
数据类字段上列出(java)注释?
reflection
、
kotlin
、
annotations
、
jvm
我正在
使用
Firestore
的
基于Java
的
注释来标记字段和将文档字段映射到Java类元素
的
方法:@Target({ElementType.METHOD, ElementType.FIELD}) String value();我
在
Kotlin
数据类
中
的
一个字段上
浏览 1
提问于2018-12-19
得票数 4
回答已采纳
1
回答
从已知
的
documentID返回单个
Firestore
字段值
flutter
我想在
Firestore
中
做一个简单
的
查找,以便从集合'propertyID‘属性
中
获取给定’propertyID‘(属性’documentID)
的
‘propertyID’,并将其赋值给变量
propertyName
print()给出
的
是'from initstate
propertyName
=实例‘未来’,而不是
Firestore
中
的
实际值。如何提取实际值?我也尝试过
使
浏览 0
提问于2019-05-16
得票数 0
回答已采纳
5
回答
Firebase
Firestore
显示警告
firebase
、
ionic3
、
google-cloud-firestore
我正在做一个
使用
离子3和firebase
firestore
作为数据库
的
项目。
Firestore
(4.13.0): The behaviorfor Date objects stored in
Firestore
is
浏览 3
提问于2018-05-02
得票数 4
3
回答
将Firebase数据反序列化-快照到
Kotlin
数据类
android
、
firebase
、
serialization
、
kotlin
、
data-class
val uid: String, @get:
PropertyName
,) 我能够
在
没有问题
的
情况下序列化对象。但是,
在
执行火基查询时,我
在
反序列化对象时遇到了困难。
浏览 1
提问于2018-06-06
得票数 12
回答已采纳
3
回答
无法发送到云
firestore
android
、
firebase
、
dart
、
flutter
、
google-cloud-firestore
我正在尝试
在
我
的
flutter项目中
使用
firebase cloud
firestore
final DocumentReference reference =
Firestore
.instance.collectionvoid initState() { super.initState();但我总是遇到这样
的
问题是因为我忘记
浏览 9
提问于2019-02-18
得票数 1
1
回答
为什么
Kotlin
数据类类型
在
写入
Firestore
文档时会更改值名称?
firebase
、
kotlin
、
google-cloud-firestore
、
boolean
我
在
将
Kotlin
数据类对象写入云
Firestore
上
的
文档时遇到了一个问题。
在
我假设这是某种bug之前,我想问一下这是否是故意
的
行为。) 我将其直接添加到
Firestore
中
,如下所示: docRef?.add(notification) 但是写入
Firestore
控制台
的
文档是: createdAt: month number, 2020 at time AM/PM UTC+8 dism
浏览 18
提问于2020-07-27
得票数 0
回答已采纳
3
回答
如何将FieldValue.serverTimestamp()转换为
Kotlin
/Java类
java
、
android
、
firebase
、
kotlin
、
google-cloud-firestore
我想保存在
Firestore
中
创建post
的
日期,但是我不想
使用
系统时间。相反,为了准确起见,我想
使用
服务器时间戳。所以我
使用
FieldValue.serverTimestamp()来获得服务器时间戳,但是保存这个时间戳
的
变量
的
数据类型是Date。下面是我
的
数据类
的
外观 constructor(): this(Calendar.
浏览 0
提问于2019-08-17
得票数 5
回答已采纳
1
回答
Firebase不
使用
AppEngine上
的
Ktor应用程序
firebase
、
google-app-engine
、
google-cloud-firestore
、
ktor
问题实现我有标准
的
ktor必需文件。我
在</e
浏览 1
提问于2018-10-22
得票数 3
回答已采纳
1
回答
如何更改
Kotlin
属性
的
名称,使其与Firebase数据库上
的
字段匹配
android
、
firebase
、
firebase-realtime-database
、
kotlin
我想更改
Kotlin
属性
在
Firebase数据库上指向
的
字段
的
名称。我
在
科特林有财产清点但是Firebase上
的
名字是items_count。我已经试过
使用
:当我尝试
使用
var count: Int 但
不起作用
。
浏览 3
提问于2017-08-18
得票数 2
1
回答
如何在
Kotlin
中
使用
getDeclaringClass?
android
、
class
、
kotlin
、
enums
、
gson
我有这个方法: protected <E extends Enum<E>> E getEnum(JSONObject jsonObject, String
propertyName
, E fallbackEnumString fallbackString = GsonXelion.toJson(fallbackEnum);} 我试着转换成
kot
浏览 29
提问于2020-01-03
得票数 1
回答已采纳
1
回答
R8混淆导致@
PropertyName
不起作用
,导致DatabaseException:发现两个getters或字段冲突
android
、
firebase
、
firebase-realtime-database
、
obfuscation
、
android-r8
with conflicting case sensitivity for property: data`有两个firebase依赖模块(firebase-database和firebase-
firestore
),它们都包含@
PropertyName
,并且当我从以下位置更改我
的
类导入时: i
浏览 7
提问于2021-02-28
得票数 1
3
回答
DocumentReference.set(Object o)更改布尔字段名
android
、
firebase
、
google-cloud-firestore
当
使用
DocumentReference.set(object)时,布尔字段将被更改。前缀为“is”
的
字段更改为正常字段值 private boolean isRequested; private String lastName,firstName;} 当我
使用
set()方法将这个对象推到数据库时,布尔值会以这样
的</
浏览 4
提问于2017-11-14
得票数 7
回答已采纳
1
回答
从FireBase数据库输出
的
数据
android
、
kotlin
、
firebase-realtime-database
我是科特林
的
新手。所以我需要帮助。谢谢。我有一个日期类用户()。:Users() })但是当我想通过文本从数据库
中
显示用户
的
电子邮件时。现在我有了:数据类用户 @
PropertyName
("id") @
Prop
浏览 1
提问于2020-06-28
得票数 0
回答已采纳
1
回答
尝试
使用
RecyclerView和Fragments -
Kotlin
显示
Firestore
数据库
中
的
整个集合
android
、
firebase
、
kotlin
、
android-recyclerview
、
google-cloud-firestore
我已经尝试了许多不同
的
教程,但都无法将它们与我
的
应用程序联系起来。我
在
gist
中
的
应用程序显示了用户正在服用
的
药物。这是我
的
数据类。return result}package com.example.home_med.viewHolder importR.id.rv_medicationType) medicationQty = view.fin
浏览 0
提问于2019-11-19
得票数 1
2
回答
如何在Gradle
Kotlin
DSL中有效地填充额外
的
属性?
gradle
、
kotlin
、
gradle-kotlin-dsl
我正在将Gradle构建脚本从Groovy迁移到
Kotlin
,其中一件事情还没有真正记录下来,那就是如何填充。
在
Groovy
中
,我可以写: comp = 'node_exporter' compProject = 'prometheus${arch}"我发现在
Kotlin
DSL
中
,我可以通过以下方式实现相同
的
功能: val comp by
浏览 0
提问于2018-09-19
得票数 13
回答已采纳
1
回答
Kotlin
/Js从自定义注册表
中
添加npm依赖项
kotlin
、
gradle
、
npm
、
kotlin-js
、
github-package-registry
我可以
使用
implementation npm("query-string", "7.0.0")命令从默认
的
npm注册表
中
轻松地添加npm依赖项。但是,我不能从不同
的
npm注册表
中
添加npm依赖项,比如Github包。我想将 npm依赖项添加到我
的
项目中。没有gradle,我只需
使用
命令行和npm install @gitliveapp/firebase-
firestore
来安装依赖项,但这并不适用于g
浏览 5
提问于2021-06-21
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
4TinyShare“网站无障碍”介绍;web前端之Kotlin;在React 16.6中使用组件的懒加载
Kotlin 中的 run、let、with、apply、also、takeIf、takeUnless 语法糖使用和原理分析
OpenColorIO在AE中的基础使用
DNSLOG在渗透测试中的使用技巧
Redis在大数据中的使用技巧
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券