I have 2 AutoCompleteTextViews in my android app which are loading data from the server. The first one loads Manufacturer name and the second one has to load the models from the chosen Manufacturer Name.
I had a look at to update the second autocompletetextview based on the value of the first one but its of no use to me as I have more than 100 manufacturers nsame. Therefore, I don't want to use 100s of IF statments as it's bad programming practice and code will be messy. My supervisor suggested me to use AJAX (not sure if its supported by android and if it is not don't know how to implement it).
Any suggestion how to implement that concept or if it can be done by AJAX, please tell me a tutorial or and example. Thanks!
0 comments:
Post a Comment