• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to create Two ListView 's - Help

ometrix

Lurker
Hello ,
This is my first time I'm writing. Greetengs to all fo the great job.
I'm new in android developing, so i have a task to make , i have 2 List view
first Food: that displays Drinks, cheese, the second List is related to the first one, when I select Drinks to open list with Cola, Beer, Wine and when i select Cheese to open Gauda, Anthoriro, Fontal.
Help please I can't figure how to do it.
I try it like this: i created 3 classes (Food, Drink and Cheese) in main created string array with Food list so i try to call them from onItemClickListener with if statement but not result
Can someon help me please ?
 
Back
Top Bottom