Day 3 Toast Message and Intent

Posted on Wed Nov 01 2017 05:30:00 GMT+0530 (India Standard Time)

Tagged : Andriod

Toast message should not cost more, We use it to display the server response.

Intent is used to move the Control from one activity to another.

Here's how you can transfer the Intent

Intent intent = new Intent(LoginActivity.this, DashBoardActivity.class);

Here's how you can display a Toast


import android.widget.Toast;
Toast.makeText(getApplicationContext(), successMsg, Toast.LENGTH_LONG).show();


Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!