java - Generic Multi level list view using array adapter in a drawer layout and passing JSON data -


i creating generic multi level list view in navigation drawer layout.

the idea pass array list view generates new array or append array list , pass every time user touches list item.

problems , possible solutions in idea are

  1. each text view looks alike since list view contains 1 text view in adapter. solution: customizing style of text view every time overriding view method of array adapter.

  2. collect data in multilevel dimension form json object solution: iterative search or data structure serve purpose.

  3. there main activity , asynchronous task retrieve json object. problem if call select item method main activity cannot access data since connection class not terminate after post executes method.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -