Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
Basically, putting my problem into simpler words I need the following: A ListView created completely programmatically (no XML at all) and which can display items with a Title and a smaller Description. I have found lots of examples for programatically creating a ListView, but they all use Array

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
On Tuesday, June 19, 2012 4:43:10 AM UTC+2, TreKing wrote: > > You don't know Java or how to use your IDE well enough. > I am not using any Java IDE, I am using a script to compile the project and I don't plan on changing that. Yes, I am not familiar enough with Java to use those complicated thi

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
On Monday, June 18, 2012 7:26:47 PM UTC+2, MagouyaWare wrote: > > I need it to be 100% pure code, without any kind of XML >> > > Just out of curiosity, why? From my experience it is much much easier to > use XML layouts unless there is a really really good reason not to... > I am not writing

Re: [android-developers] Trying to use the ListView

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 10:07 AM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > But it fails to compile: > > Any ideas where am I getting it wrong? > You don't know Java or how to use your IDE well enough. If your code fails to compile, your IDE should tell you why an

Re: [android-developers] Trying to use the ListView

2012-06-18 Thread Justin Anderson
> > I need it to be 100% pure code, without any kind of XML > Just out of curiosity, why? From my experience it is much much easier to use XML layouts unless there is a really really good reason not to... As far as your error, I did a simple Google search and came up with this: http://docs.oracl

[android-developers] Trying to use the ListView

2012-06-18 Thread Felipe Monteiro de Carvalho
Hello, I am trying to create a ListView where each item has a Title (bigger text) and a Description (smaller text under the other one), and I need it to be 100% pure code, without any kind of XML, but I am having a lot of difficulty as ListView seams to be an absurdely hard to use class. Ok, s