[android-developers] Re: How to Create ListView within ListView

2010-10-07 Thread Ganapathy.C
Even though its not working,,,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Kumar Bibek
In your adapter, override this method.

@Override
public boolean isChildSelectable(int arg0, int arg1) {
return true;
}

On Wed, Oct 6, 2010 at 10:21 PM, Ganapathy.C  wrote:

> This is my code but onChildClick only not working...
>
> listView.setOnChildClickListener(new
> ExpandableListView.OnChildClickListener() {
> @Override
> public boolean onChildClick(ExpandableListView
> parent,
> View v, int groupPosition, int
> childPosition,
> long id) {
> Toast.makeText(homepage.this, "Child
> Clicked",
> Toast.LENGTH_LONG);
>
> return false;
> }
> });
>
> //Group Click Listner
> listView.setOnGroupClickListener(new
> OnGroupClickListener(){
>
> @Override
> public boolean onGroupClick(ExpandableListView
> arg0, View arg1,
> int arg2, long arg3) {
> System.out.println("Group Clicked...");
> // TODO Auto-generated method stub
>
> return false;
> }
>
> });
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
This is my code but onChildClick only not working...

listView.setOnChildClickListener(new
ExpandableListView.OnChildClickListener() {
 @Override
 public boolean onChildClick(ExpandableListView parent,
 View v, int groupPosition, int 
childPosition,
 long id) {
 Toast.makeText(homepage.this, "Child Clicked",
Toast.LENGTH_LONG);

 return false;
 }
 });

 //Group Click Listner
 listView.setOnGroupClickListener(new OnGroupClickListener(){

 @Override
 public boolean onGroupClick(ExpandableListView arg0, 
View arg1,
 int arg2, long arg3) {
 System.out.println("Group Clicked...");
 // TODO Auto-generated method stub

 return false;
 }

 });

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 11:47 AM, Ganapathy.C  wrote:

> No in that when i try to expand the group in fire onGroupClicked
> but its child's are not clickable.
> so i cant fire onChildClick event
>

Are you returning true for isChildSelectable()?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Kumar Bibek
I am not sure what exactly are you doing? I think you are confused. Have you
tried the normal item click?

And, why do you "try" to expand a group yourself? Can you explain your
problem in detail, with some images and code?

On Wed, Oct 6, 2010 at 10:17 PM, Ganapathy.C  wrote:

> No in that when i try to expand the group in fire onGroupClicked
> but its child's are not clickable.
> so i cant fire onChildClick event
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
No in that when i try to expand the group in fire onGroupClicked
but its child's are not clickable.
so i cant fire onChildClick event

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Kumar Bibek
If it's a group, then use onGroupClick, else use onChildClick. I hope the
confusion is clear now. :)

On Wed, Oct 6, 2010 at 10:10 PM, Ganapathy.C  wrote:

> onGroupClicked is working
> but
> > onChildClicked and
> >onItemClicked are not working..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
onGroupClicked is working
but
> onChildClicked and
>onItemClicked are not working..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 7:26 AM, Ganapathy.C  wrote:

> this event is not working?


Are you asking if it's not working? Because I don't know - it's your code.
Make sure isChildSelectable returns true. Also maybe try a regular on item
click listener and see if that works.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Kumar Bibek
You should try setGroupClickListener and the onGroupClick event will
be triggered.

-Kumar Bibek
http://techdroid.kbeanie.com

On Oct 6, 5:26 pm, "Ganapathy.C"  wrote:
> OnChildClick event
> this event is not working?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
OnChildClick event
this event is not working?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 3:45 AM, Ganapathy.C  wrote:

> I Tried it but its not working...
>

What did you try ... ? What's not working ... ?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to Create ListView within ListView

2010-10-06 Thread Ganapathy.C
Hai I had implemented your Expandable List but Its not Clickable.
Tell Me the way to implement onChildClick Listener.I Tried it but its
not working...
give some ideas.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-10-01 Thread Ganapathy.C
ok thank you...I will try this again..

On Oct 1, 9:06 pm, Bret Foreman  wrote:
> It's not clear from the OP how many levels of data he has but XML
> files are often more than two levels. From the ExpandableListView
> docs:
>
> "ExpandableListActivity hosts a ExpandableListView object that can be
> bound to different data sources that provide a two-levels of data"

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-10-01 Thread Bret Foreman
It's not clear from the OP how many levels of data he has but XML
files are often more than two levels. From the ExpandableListView
docs:

"ExpandableListActivity hosts a ExpandableListView object that can be
bound to different data sources that provide a two-levels of data"



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-10-01 Thread AnasSamara
Use ExpandableListView instead

-AnasSamara

On Sep 30, 10:37 am, "Ganapathy.C"  wrote:
> Sorry
> I Want Clickable MultiHeading List,,
> If u know any thing about it means tell me.
> Thank you...
>
> On Sep 28, 9:50 pm, Kumar Bibek  wrote:> Try the 
> Expandable List View. I am not sure if that will help you.
>
> >http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
>
> > -Kumar Bibekhttp://techdroid.kbeanie.com
>
> > On Sep 28, 9:28 pm, "Ganapathy.C"  wrote:
>
> > > Thank U i got it...
> > > Now i want to Seperate my list into five part with Heading for each
> > > part..
>
> > > On Sep 9, 9:36 pm, Mark Murphy  wrote:
>
> > > > AFAIK, you cannot have a ListView inside of a ListView.
>
> > > > On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  
> > > > wrote:
> > > > > In my project i m parsing xml and i want to put it in xml list with in
> > > > > list
>
> > > > > each list must have different data
>
> > > > --
> > > > Mark Murphy (a Commons 
> > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > > Android Training in London:http://skillsmatter.com/go/os-mobile-server
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-10-01 Thread Ganapathy.C
Same as your List bith its not clickable...?
i need detailed explaination about ur Expandable List...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-09-30 Thread Ganapathy.C

I Need List with three titles .
each title must contain different data.
when we click the item in list it must forward the ctrl to new
Activity

thank you help me..

On Sep 30, 2:47 pm, Kumar Bibek  wrote:
> What exactly do you need?
>
> On Sep 30, 1:37 pm, "Ganapathy.C"  wrote:
>
>
>
> > Sorry
> > I Want Clickable MultiHeading List,,
> > If u know any thing about it means tell me.
> > Thank you...
>
> > On Sep 28, 9:50 pm, Kumar Bibek  wrote:
>
> > > Try the Expandable List View. I am not sure if that will help you.
>
> > >http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
>
> > > -Kumar Bibekhttp://techdroid.kbeanie.com
>
> > > On Sep 28, 9:28 pm, "Ganapathy.C"  wrote:
>
> > > > Thank U i got it...
> > > > Now i want to Seperate my list into five part with Heading for each
> > > > part..
>
> > > > On Sep 9, 9:36 pm, Mark Murphy  wrote:
>
> > > > > AFAIK, you cannot have a ListView inside of a ListView.
>
> > > > > On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  
> > > > > wrote:
> > > > > > In my project i m parsing xml and i want to put it in xml list with 
> > > > > > in
> > > > > > list
>
> > > > > > each list must have different data
>
> > > > > --
> > > > > Mark Murphy (a Commons 
> > > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > > > Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-09-30 Thread Kumar Bibek
What exactly do you need?

On Sep 30, 1:37 pm, "Ganapathy.C"  wrote:
> Sorry
> I Want Clickable MultiHeading List,,
> If u know any thing about it means tell me.
> Thank you...
>
> On Sep 28, 9:50 pm, Kumar Bibek  wrote:
>
> > Try the Expandable List View. I am not sure if that will help you.
>
> >http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
>
> > -Kumar Bibekhttp://techdroid.kbeanie.com
>
> > On Sep 28, 9:28 pm, "Ganapathy.C"  wrote:
>
> > > Thank U i got it...
> > > Now i want to Seperate my list into five part with Heading for each
> > > part..
>
> > > On Sep 9, 9:36 pm, Mark Murphy  wrote:
>
> > > > AFAIK, you cannot have a ListView inside of a ListView.
>
> > > > On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  
> > > > wrote:
> > > > > In my project i m parsing xml and i want to put it in xml list with in
> > > > > list
>
> > > > > each list must have different data
>
> > > > --
> > > > Mark Murphy (a Commons 
> > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > > Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-09-30 Thread Ganapathy.C
Sorry
I Want Clickable MultiHeading List,,
If u know any thing about it means tell me.
Thank you...

On Sep 28, 9:50 pm, Kumar Bibek  wrote:
> Try the Expandable List View. I am not sure if that will help you.
>
> http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
>
> -Kumar Bibekhttp://techdroid.kbeanie.com
>
> On Sep 28, 9:28 pm, "Ganapathy.C"  wrote:
>
>
>
> > Thank U i got it...
> > Now i want to Seperate my list into five part with Heading for each
> > part..
>
> > On Sep 9, 9:36 pm, Mark Murphy  wrote:
>
> > > AFAIK, you cannot have a ListView inside of a ListView.
>
> > > On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  wrote:
> > > > In my project i m parsing xml and i want to put it in xml list with in
> > > > list
>
> > > > each list must have different data
>
> > > --
> > > Mark Murphy (a Commons 
> > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > > Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-09-28 Thread Kumar Bibek
Try the Expandable List View. I am not sure if that will help you.

http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html

-Kumar Bibek
http://techdroid.kbeanie.com

On Sep 28, 9:28 pm, "Ganapathy.C"  wrote:
> Thank U i got it...
> Now i want to Seperate my list into five part with Heading for each
> part..
>
> On Sep 9, 9:36 pm, Mark Murphy  wrote:
>
> > AFAIK, you cannot have a ListView inside of a ListView.
>
> > On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  wrote:
> > > In my project i m parsing xml and i want to put it in xml list with in
> > > list
>
> > > each list must have different data
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to Create ListView within ListView

2010-09-28 Thread Ganapathy.C
Thank U i got it...
Now i want to Seperate my list into five part with Heading for each
part..


On Sep 9, 9:36 pm, Mark Murphy  wrote:
> AFAIK, you cannot have a ListView inside of a ListView.
>
> On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C  wrote:
> > In my project i m parsing xml and i want to put it in xml list with in
> > list
>
> > each list must have different data
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en