eclipse - Android same layout different data -


i'm creating local android application , trying following:

the main menu consists of 4 buttons, each lead (different) list of chapters.
layout of chapters view same, trying use 1 layout every chapters page, using different strings depending on button that's being pressed @ main menu. when user presses button 1, list of chapters differs when user presses button 2, etc.

i have tried looking solutions, unable find far. there way call set of strings depending on button chosen?

have tried use custom list adapter take array of strings parameter? list of chapter simple listview 1 string in each row right?


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -