Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - ExpandableListActivity

ExpandableListActivity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

ExpandableListActivity

Postby williamzanelli » Thu Apr 16, 2009 12:38 am

Hi guys

I'm trying to complete a specific task using ExpandableListActivity.

I have a URL and title and description.

I want to have an ExpandableListActivity, where you have a list of titles, on clicking on anyone of the titles, the description appears (as per usual), on clicking on the child node, I want the the relevant URL to open..

Any idea on how I could achieve this?

Could someone please provide example code

Thanks in advance for your thoughts on this..

Regards
Will
williamzanelli
Experienced Developer
Experienced Developer
 
Posts: 63
Joined: Mon Jan 05, 2009 2:37 am
Location: UK

Top

Postby williamzanelli » Thu Apr 16, 2009 12:57 pm

Anybody.........??
Will
williamzanelli
Experienced Developer
Experienced Developer
 
Posts: 63
Joined: Mon Jan 05, 2009 2:37 am
Location: UK

Postby sanzeiev » Thu Jul 30, 2009 2:20 pm

@Override
public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {
// TODO Auto-generated method stub

TextView name = (TextView)parent.getChildAt(groupPosition).findViewById(android.R.id.text1);
String Name = name.getText().toString();
TextView number = (TextView)v.findViewById(android.R.id.text1);
String Number = number.getText().toString();
String Name = name.getText().toString();
return super.onChildClick(parent, v, groupPosition, childPosition, id);
}
sanzeiev
Freshman
Freshman
 
Posts: 8
Joined: Wed Jul 22, 2009 6:08 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests