Can't understand why my code not working (easy ui)
<p>hello guys i have this function for focus :</p>

<pre><code>fav[jj].setOnFocusChangeListener(new View.OnFocusChangeListener() {
                public int kl = jj;
                @Override
                public void onFocusChange(View v, boolean hasFocus) {
                 log("last = "+last);
                     log("kkk = "+kl);  
                     saver ssss = new saver();
                 if(v.hasFocus())
                    {
                     if(kl+1 ==ssss.loadCount())
                     {
                         log("hjere");
                            delete.setEnabled(true);
                            btnUp.setEnabled(false);
                            btnDown.setEnabled(false);
                            btnGo.setEnabled(true);
                            btnDown.setImageResource(R.drawable.notactivedown);
                            btnUp.setImageResource(R.drawable.arrowup);
                            log("here naxxx");
                     }
                    }
</code></pre>

<p>when i touched on my object fav[n] .. than this function must set button status to false. But this not work.. i can't understand because in logcat i see two lines : <code>log("hjere");</code> and <code>log("here naxxxx");</code> if i see ("log("here naxxx") ) than code must work ??</p>

<p>can any one please tell me why my code don't want work ? :(</p>

<p>Regards , Peter.</p>
