firebase-database

    0熱度

    1回答

    我想添加實時評論功能到所有帖子用戶時間表頁面。 這裏是我做了什麼: 所有的帖子中包含有註釋部分下面的HTML表單: <form action="#" class='post-comment' data-id='3214'> <input type="text" name='comment'> <input type='submit' style='visibility: hid

    0熱度

    1回答

    嗨,我是在火力和Android工作室新和我有一個問題 我想這個數據庫的數據陣列存儲在數組中,並在下一次使用,使回收者視圖 然後在主要活動我寫了這個: 如果我只運行的應用程序這顯示: 但是,如果我做同樣的但不是火力我使用的String []與數據我想說明它的工作原理,但我不知道爲什麼與火力點我可以」噸。 ,如果我這個改變引用: reference = database.getReference(Fi

    -2熱度

    1回答

    我有這個代碼,但我有一個問題,因爲它寫我使用未解析的標識符'元數據',在此先感謝!我是Xcode的初學者,請解釋清楚! 我從一個YouTube教程中獲得了這個,從zero2launch! import UIKit import FirebaseDatabase import FirebaseAuth import FirebaseStorage class SignUpViewCo

    0熱度

    2回答

    我有一本書類作爲 public class Books { public String bookName; public String author; public String copies; public Books() { // Default constructor required for calls to DataSnapshot

    0熱度

    1回答

    試圖發送一些數據火力卻深藏不露 public class MainActivity extends AppCompatActivity { private static final String TAG = MainActivity.class.getSimpleName(); private TextView txtDetails; private EditTex

    0熱度

    1回答

    我有兩個活動,一個用於創建評估對象,另一個用於列出Firebase中的評估對象,但是我遇到了一個問題:POJO能夠序列化爲JSON很好,但FirebaseRecyclerAdapter似乎無法將JSON數據返回給對象類型。 這是我的目標文件: @IgnoreExtraProperties public class Assessment { private String company; p

    0熱度

    1回答

    enter image description here我想檢索通過隨時隨地使用隨機密鑰更新到Firebase的溫度值。我想根據實時數據顯示應用中的溫度值。我嘗試使用addValueEventListner,但似乎沒有實時更改值。 `公共類SecondActivityB擴展AppCompatActivity { private DatabaseReference mDatebase; priva

    1熱度

    2回答

    我在我的Ionic 3應用程序中顯示一些Firebase數據時遇到問題。下面是我的組件相關的代碼(ABCDEF部分只是針對特定用戶的主要替補): var ref = firebase.database().ref('/profiles/abcdef/'); this.viewProfile = ref.once("value") .then(function(snapshot) {

    0熱度

    2回答

    如何在下圖中更改我的孩子的節點名稱? questions_stats是List<Integer>,我知道我得到整數作爲節點Id,因爲這是一個列表。我使用0到1000之間的數字隨機創建每個孩子。我將此ID設置爲對象的一部分,並找到它我循環顯示列表。我想要的是將「0671」設置爲創建對象的關鍵點。 我應該如何定義我的對象以便通過我定義爲字符串的Id訪問每個子對象。 每個questions_stats是

    -1熱度

    2回答

    我創建了一個回收站鑑於我fragment_add_friends.xml像下面 <android.support.v7.widget.RecyclerView android:id="@+id/all_user_list" android:layout_width="match_parent" android:layout_height="match_parent" android:scr