1. Download our Official Android App: Forums for Android!

Multilevel Listiview with MySQL

Discussion in 'Introductions' started by behrooz09, Jul 25, 2013.

  1. behrooz09

    behrooz09 Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    1
    Joined:
    Jul 25, 2013

    Jul 25, 2013
    1
    0
    25
    Hello guys,

    I am totally new on android development!
    I am trying to implement a multilevel listview. here I attach my cod and I hope you can help me to get result!

    • I have 2 database tables named "category" and "sub_category"
    • In first table I have a field named "id" which is index and auto increment!
    • In sub_category table I have field named "cat_id" which is related to the "id" in category table.
    • I can retrieve data from category table to the first Listview
    • I can retrieve all data from sub_category to the listview as well
    • **BUT** I can not retrieve data from sub_category when cat_id == id

    as I am new in this forum I can not paste code, links and images!

    IS there anyone here can help me step by step!
     

    Advertisement

  2. dustwun77

    dustwun77 Endeavor to Persevere :)
    Rank:
    None
    Points:
    623
    Posts:
    4,825
    Joined:
    Feb 24, 2010

    Feb 24, 2010
    4,825
    2,844
    623
    Male
    ET
    SC
    Hello, behrooz09! Welcome to the forums! :D

    i am sorry I don't know how to help you and am not sure you will find anyone to tutor you on that, but, perhaps someone in this forum could point you in the right direction. It is worth a try!

    Application Development - Android Forums

    Good luck, and thanks for joining!
     

Share This Page

Loading...