mirror of
https://github.com/bspeice/itcs4180
synced 2024-12-04 13:18:16 -05:00
String compare doesn't work the way you think it does...
This commit is contained in:
parent
f8cc67fa59
commit
a330ab9155
@ -154,7 +154,7 @@ public class MainActivity extends Activity {
|
|||||||
holder.name = (TextView)v.findViewById(R.id.txtName);
|
holder.name = (TextView)v.findViewById(R.id.txtName);
|
||||||
holder.riddle = (TextView)v.findViewById(R.id.txtRiddle);
|
holder.riddle = (TextView)v.findViewById(R.id.txtRiddle);
|
||||||
|
|
||||||
if(locations.get(position).getKey()!=null)
|
if(!locations.get(position).getKey().equals(""))
|
||||||
{
|
{
|
||||||
holder.imgFound.setImageResource(R.drawable.checkbox_checked);
|
holder.imgFound.setImageResource(R.drawable.checkbox_checked);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user