skip to Main Content

Firebase – why does the wrong toast message keep appearing?

I have a class called BookRoomActivity: public class BookRoomActivity extends AppCompatActivity { String staffPromotionCode; EditText etRoomName,etprice,etDate,etCapacity,etPromotion; Button btnBook; FirebaseFirestore db; final boolean[]promotionCodeMatched = {false}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_book_room); // Retrieve promotion code set by staff from…

VIEW QUESTION
Back To Top
Search