And what were you expecting that code to do?
The code you posted will display a list showing a few items. If you
want something to happen when any of those items are selected, you'll
have to write code for that too. You'll probably want to implement
your Activity's onListItemClick.
On Fri, Sep 1
My suggestion is to have a read here
http://developer.android.com/reference/android/widget/ListView.html
and check out some Android tutorials if you are new to Android
development.
Liam
On 18 Sep, 14:53, ragavendran s wrote:
> This is my code:
>
> public class mywedding extends ListActivity {
This is my code:
public class mywedding extends ListActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.main);
final String[] opti
Some code would be helpful, else your problem will not get solved!
On 18 Sep, 14:24, ragavendran s wrote:
> i m having ListActivity displays list views normalwhenever i click on
> that particular item from the list it doesn't works (i.e) it does not calls
> the another classcan u tel me
4 matches
Mail list logo