如何从Firebase获取并将值传递给变量

时间:2019-04-03 08:47:33

标签: json firebase url const react-native-android

我想从firebase / json获取一个值并将其放在这些变量上。我只想操纵这些变量。

var data1 = "";
var data2 = "";
var data3 = "";
var data4 = "";
var data5 = "";
var data6 = "";
var url = [
  {
    "videourl": data1,
  },
  {
    "videourl": data2,
  },
  {
    "videourl": data3,
  },
  {
    "videourl": data4,
  },
  {
    "videourl": data5,
  },
  {
    "videourl": data6,
  },
];

1 个答案:

答案 0 :(得分:-1)

这不是一个完整的答案,只是任务的一部分,将在短时间内发布后续步骤

Firebase Official Documentation

@FXML WebView webView;
WebEngine webEngine;
webEngine = webView.getEngine();
webEngine.load("https://maps.google.de");