Beginner

Android ToggleButton Example

Toggle Buttons A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout with the ToggleButton object. Android 4.0 (API level 14) introduces another kind of toggle button called a switch that provides a slider control, which you can add with a Switch object. Android ToggleButton and …

Android ToggleButton ExampleRead More »

Android MultiAutoCompleteTextview

Multi AutoComplete Textview An editable text view, extending AutoCompleteTextView, that can show completion suggestions for the substring of the text where the user is typing instead of necessarily for the entire thing. MultiAutoCompleteTextView can hold multiple string words value at single time. These all values are separated by comma(,). Get GITHUB code from Here.   Creating New Project …

Android MultiAutoCompleteTextviewRead More »

Android AutoCompleteTextview Example

What is AutoComplete Textview? An editable text view that shows completion suggestions automatically while the user is typing. The list of suggestions is displayed in a drop-down menu from which the user can choose an item to replace the content of the edit box with. Get GITHUB code from Here. Creating New Project In Android Studio, go …

Android AutoCompleteTextview ExampleRead More »

Android StackView Example

What is StackView? The Honeycomb Android version, introduced some interesting widgets with collections. One of them is the Android StackView. StackView helps in arranging items in the form of stacked cards, where the front item can be flipped to bring the item behind it to the front. Here, you will learn to stack images with text …

Android StackView ExampleRead More »

RecyclerView Example In Kotlin

What is RecyclerView? The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Here I would demonstrate you a working example of RecyclerView, with some basic functionality. The RecyclerView we …

RecyclerView Example In KotlinRead More »

Android RecyclerView OnItemClickListener Example

If you’ve used a RecyclerView, you may know that they don’t have a setOnItemClickListener as ListView had, so we have to create our own way to do it. There are many ways to achieve this, but I will show you the way I usually do it. My mechanism consists of passing the listener as a parameter to the constructor …

Android RecyclerView OnItemClickListener ExampleRead More »

Android RecyclerView Example

RecyclerView The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Here I would demonstrate you a working example of RecyclerView, with some basic functionality. The RecyclerView we are going to design contains …

Android RecyclerView ExampleRead More »

%d bloggers like this: