Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread Justin Anderson
1) What is the error you are getting? 2) What is ModesLvAdapter? You didn't provide that class. You basically gave us everything about your project except the ONE thing that has to do with your question. On Thu, Jul 23, 2015 at 5:56 AM gvi7 gvi70...@gmail.com wrote: Here is how the UI

Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread gvi70000
Here it is... in Tab_modes i get Error:(65, 99) error: illegal start of expression t line ModesLvAdapter adapter = new ModesLvAdapter(this, R.layout.my_list, list_NameImg[tab_idx][]); import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import

Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread gvi70000
Hi, I have tried getActivity (), now the code is error free but i have no listview displayed in the tabs. ArrayListNameImg[] list_NameImg = new ArrayListNameImg[](); list_NameImg.add(basic); list_NameImg.add(sensors); list_NameImg.add(fastobjects); list_NameImg.add(pantilt);

Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread Justin Anderson
Sorry, I don't do personal consulting like that for free. My consulting rates are $120/hour. I'm happy to help here on this forum, but I spend time on here in my free time so I'm not going to go pouring through your project to try to solve your problem. Try debugging and stepping through the

Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread Justin Anderson
A fragment is not a Context. Pass in getActivity() instead of this On Thu, Jul 23, 2015, 11:16 AM gvi7 gvi70...@gmail.com wrote: I have tried the following https://lh3.googleusercontent.com/-UwZUAdWZliQ/VbETW8LzhcI/Ifk/KfACIlRyDZc/s1600/Untitled.png //NameImg[][] list_NameImg =

Re: [android-developers] Re: Android custom data to show in listview

2015-07-23 Thread gvi70000
I have tried the following https://lh3.googleusercontent.com/-UwZUAdWZliQ/VbETW8LzhcI/Ifk/KfACIlRyDZc/s1600/Untitled.png //NameImg[][] list_NameImg = new NameImg[][]{basic, sensors, fastobjects, pantilt, usb}; ArrayListNameImg[] list_NameImg = new ArrayListNameImg[]();

[android-developers] Will Google Play strike expire?

2015-07-23 Thread Arshad Fendi
Hello everyone We all know those horrible emails that informs us that one of our apps has been suspended and that it counts as strikes against the good standing of your Google Play Developer account. https://support.google.com/googleplay/android-developer/answer/2477981 Two questions I have

[android-developers] Android custom data to show in listview

2015-07-23 Thread gvi70000
I would like to have your guidance to solve a problem that i have with my first android app (SlidingTabLayout) I have the following ViewPagerAdapter.java import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import

[android-developers] Re: Android custom data to show in listview

2015-07-23 Thread gvi70000
Here is how the UI should look like On Thursday, July 23, 2015 at 12:42:29 PM UTC+2, gvi7 wrote: I would like to have your guidance to solve a problem that i have with my first android app (SlidingTabLayout) I have the following ViewPagerAdapter.java import