Tag Archives: Button
DataBinding in Android using Observable Collections
As I shown in the previous post where we used BaseObservable and ObservableField to update UI when binding object is changed, this post will show you another simple way to achieve this. Do Check my previous posts for better understanding of DataBinding and methods used in DataBinding. http://www.coderzheaven.com/2017/01/15/simple-databinding-in-android-example/ http://www.coderzheaven.com/2017/01/20/data-binding-in-android-using-observables/ http://www.coderzheaven.com/2017/01/25/data-binding-in-android-using-observablefield-to-update-ui-automatically/ Here is another way to do it. In… Read More »
How to show error in an EditText using setError() in Android?
How to make a Button appear like a TextView in Android?
Custom Alert in android.
We can create any type of alert in android. Today I will show a simple example showing how to create a custom alert in android. i.e you can provide any layout to your alert dialog. Now we will start. First create an xml for your alert dialog. Here I am creating an xml that contains a textView, an… Read More »
Global variables in ANDROID……
Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes changed when you change it in any of the classes in your project. These types of variables act as like cookies in a… Read More »
How to use Global variables in ANDROID?
Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes changed when you change it in any of the classes in your project. These types of variables act as like cookies in a… Read More »
How to send email from and ANDROID Application programatically?
Hello all…….. In today’s post I will show you send mail from an android application progrmatically.. Let’s go to the code fast…… This is the code in the mail java file…. Now the layout file (main.xml) The AndroidManifest.xml Note: However if you test this in your emulator, it will not work. Install it in your device to test… Read More »