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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -