简体   繁体   English

Android Firebase聊天

[英]Android Firebase chat

I'm planning to develop an Android firebase chat. 我打算开发一个Android firebase聊天程序。
I'm new to Android and Firebase. 我是Android和Firebase的新手。

Here is the table I want to create. 这是我要创建的表。

Customers
    -Firebase push ID
        -cu_id:""
        -cu_name:""
        -cu_status:""
        -cu_ae_id:""

AccountExecutive
    -Firebase push ID
        -ae_id:""
        -ae_name:""
        -ae_status

Is this table is possible in Firebase? Firebase中可以使用此表吗?
And how can I connect this two table into "chats" table? 以及如何将这两个表连接到“聊天”表中?
Any table structure you can suggest to me? 您可以向我建议任何表格结构吗?

The idea is, the Account Executive can send chat message to Customers. 这个想法是,客户经理可以将聊天消息发送给客户。

Then the Customer can send chat message to Account Executive assign to him 然后客户可以将聊天消息发送给客户经理,并分配给他

https://codelabs.developers.google.com/codelabs/firebase-android/#0 https://codelabs.developers.google.com/codelabs/firebase-android/#0

This document describes how firebase works step by step working. 本文档介绍了Firebase如何逐步工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM