hello im new to android development could someone please help me with below code. i want to make if statement from the mqtt payload . how can i make playload = connected then show it is Textview
``` public void messageArrived(String topic, MqttMessage message) throws Exception { subText.setText(new String(message.getPayload())); // Vibrator.vibrate(500); } ``` -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1ffedcf4-be81-4ed5-acbd-5067172fb79b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.