mirror of
https://github.com/bspeice/itcs4180
synced 2024-11-13 19:08:20 -05:00
Fix cast from int to Integer
This commit is contained in:
parent
cc1f93e693
commit
d6b5f86f66
@ -126,7 +126,7 @@ public class MainActivity extends Activity {
|
||||
int position, long id)
|
||||
{
|
||||
//Send intent with R.array.label
|
||||
galleryIntent.putExtra("thumbsId", (int)(imageAdapter.getItem(position)));
|
||||
galleryIntent.putExtra("thumbsId", (Integer)(imageAdapter.getItem(position)));
|
||||
startActivity(galleryIntent);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user