Android (JAVA)

Learn Android code free

Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener – Android Studio

This Tutorial will cover: ListView(Image, Title, Description) Filterable ListView SearchView on ActionBar/Toolbar to search ListView items Intent to go to NewActivity onItemClick BackButton in ActionBar of NewActivity Step 1: Create a new project OR Open your project Step 2: Create New Activity File>New>Activity>EmptyActivity Step 3: Create menu.xml under res>menu folder, to search item. Step 4: Create model.xml in res>layout folder,to design row Step 5: Place some images in res>drawable folder Step

Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener – Android Studio Read More »

ListView using Array from strings.xml with Item Click Listener

In this tutorial we will create a ListView with item click listener, we will write string array in strings.xml. When a list item is clicked a Toast will be displayed, you can change the functionality. Step 1: Create a new project OR Open your project Step 2: Code strings.xml activity_main.xml MainActivity.java Step 3: Output

ListView using Array from strings.xml with Item Click Listener Read More »