I am surprised myself that I am writing such a question. I already broke my head, probably somewhere I missed something.
Here it is, everyone knows:
String str = "ΠΊΠ°ΠΊΠΎΠΉ-ΡΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡ"; But if I do it like this:
public class ΠΠΠΠΠΠ { String str; protected void ΠΡΠ±ΠΎΠΉ ΠΌΠ΅ΡΠΎΠ΄ { ...ΠΊΠ°ΠΊΠΎΠΉ-ΡΠΎ ΠΊΠΎΠ΄ ΠΈ ΠΏΠΎΡΠΎΠΌ Π³Π΄Π΅-ΡΠΎ str = dataSnapshot.getValue().toString(); // - ΠΏΡΠΈΠ΅ΠΌ string Ρ firebase That str is not assigned a value transmitted from the server, but remains null.
Maybe you need to somehow assign a different way, in some magical way? Maybe I missed something somewhere according to science.
Because of this, doing such a trick:
public class ΠΠΠΠΠΠ { String str; TextView textView; protected void ΠΡΠ±ΠΎΠΉ ΠΌΠ΅ΡΠΎΠ΄ { ...ΠΊΠ°ΠΊΠΎΠΉ-ΡΠΎ ΠΊΠΎΠ΄ ΠΈ ΠΏΠΎΡΠΎΠΌ Π³Π΄Π΅-ΡΠΎ str = textView.setText(dataSnapshot.getValue().toString()); // - ΠΏΡΠΈΠ΅ΠΌ string Ρ firebase Help please advice.
Stringtype with this methodstr = (String) dataSnapshot.getValue()- qwerty123str = dataSnapshot.getValue().toString(); // - ΠΏΡΠΈΠ΅ΠΌ string Ρ firebasestr = dataSnapshot.getValue().toString(); // - ΠΏΡΠΈΠ΅ΠΌ string Ρ firebase. - Tema_BelgetValue()returns? - Tema_Bel