« first day (450 days earlier)      last day (1738 days later) » 

7:17 AM
Android issue >>I download data from server. There are minimum 500 list . one list have 30 items. I put all this data on an array . I populate list view. I able to watch that array have 500 list. in getview methods populate data. after some times application exit without no error . and open system homepage. I do not understand why is not error coming .
how to solve this issue . please help me.
 
1 message moved from Java
 
7:47 AM
def grader(score)
  # TODO: complete me
case score
when score > 1 || < 0.6
  puts 'F'
when score => 0.9
  puts 'A'
when score => 0.8
  puts 'B'
when score => 0.7
  puts 'C'
when score => 0.6
  puts 'D'
end
end
 
whats the error
 
unexpted keyword when
 
3 messages moved from JavaScript
 
@lovetolearn I don't think the first when statement is correct .. score > 1 || score < 0.6
you may have to wrap it in braces (score ... )
 
 
3 hours later…
11:14 AM
listViewOfPreRegstredVisitors.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int pos,long id) {


if( selectedValue==-1)
{
ImageView ivForUnSelection =(ImageView)view.findViewById(R.id.ivForUnSelection);
ivForUnSelection.setImageDrawable(getResources().getDrawable(R.drawable.icon_double_arrowright_sel));
selectedValue=pos;


}
else if(selectedValue!=pos)
{
ImageView ivForUnSelection =(ImageView)view.findViewById(R.id.ivForUnSelection);
 
1 message moved from ♦ Android Discussions
 

« first day (450 days earlier)      last day (1738 days later) »