I guess you might not know this, but you don't need to be using a
Boolean. You should change it to "lowercase" boolean and get rid of
all the messy t.booleanValue() calls.

But, the reason you don't see logging output is the way you are using
Log. You are actually trying to print an empty message (the second
argument), and that means it won't show up in logcat output. If you
are confused about the arguments to a log method, think of the first
argument as a String that lets you group messages together (you can
create a filter to filter them out of the general logcat output).
Think of the second argument as what you actually want to see in the
log.

On Apr 6, 7:21 am, areslp <[EMAIL PROTECTED]> wrote:
>                         Boolean t = flags.get(position);
>                         Log.e("" + position, "getView_flag:" + 
> t.booleanValue());
>                         if (t.booleanValue()==true) {
>                                 Log.e("postion:true" + position, "");
>                                 flags.set(position, false);
>                                 view.reset();
>                                 return view;
>                         }else if(t.booleanValue()==false){
>                                 Log.e("postion:false" + position, "");
>                                 return view;
>                         }else{
>                                 Log.e("postion:else" + position, "");
>                                 return view;
>                         }
>
> Log.e("" + position, "getView_flag:" + t.booleanValue()):I can get the
> line's output ,it prints true(false)
> But I cant get Log's output in the if-else if-else block,and there is
> no error throw out,why?
>
> Thanks in advance!!
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to