0
Hello guys I’m having a doubt on how to catch the parent node that would be in the case of the image o -Kt... I made some codes but not right.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_criar_cardapio);
codigo = (TextView) findViewById(R.id.textView3);
ref.child("Mesas").getParent();}
I want to assign this String to a variable to pass as parameter to another function.
I have a class called table and wanted to use this function
– IMoonBlackI
You can use, but it has to be within the call scope in Firebase.
– Antônio Silva