从 customobject 获取 public 文件 url
Getting public file url from customobject
我有一个带有 File
类型字段的自定义对象 class,在我查询 class 之后,我没有得到 public url到字段中的文件。如何从 CustomObject class 中获取要加载到 ListView 中的 File
字段类型的完整 public url?我已经通过 Picasso 有了一个图像加载库。
试试这个
https://api.quickblox.com/data/<Class_name>/<record_id>/file?field_name=<field_name>&token=<qb_session_token>
更多信息在这里http://quickblox.com/developers/Custom_Objects#Download_file
我有一个带有 File
类型字段的自定义对象 class,在我查询 class 之后,我没有得到 public url到字段中的文件。如何从 CustomObject class 中获取要加载到 ListView 中的 File
字段类型的完整 public url?我已经通过 Picasso 有了一个图像加载库。
试试这个
https://api.quickblox.com/data/<Class_name>/<record_id>/file?field_name=<field_name>&token=<qb_session_token>
更多信息在这里http://quickblox.com/developers/Custom_Objects#Download_file