Skip to content

Commit

Permalink
remove raw type reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jclark118 committed Nov 17, 2023
1 parent 9a9225d commit 0a4be42
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ protected void onCreate(Bundle savedInstanceState) {
*/
private void createImageGallery(){
if(imageGalleryPager != null && featureViewObjects != null){
for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){
sliderItems.add(new SliderItem((long)map.getKey(),(Bitmap)map.getValue()));
for(Map.Entry<Long, Bitmap> map : featureViewObjects.getBitmaps().entrySet() ){
sliderItems.add(new SliderItem(map.getKey(),map.getValue()));
}
imageGalleryPager.setAdapter(sliderAdapter);
imageGalleryPager.setClipToPadding(false);
Expand Down Expand Up @@ -428,8 +428,8 @@ private void updateImages(){
if(featureViewObjects != null){
sliderItems.clear();
featureViewObjects.getAddedBitmaps().clear();
for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){
sliderItems.add(new SliderItem((long)map.getKey(),(Bitmap)map.getValue()));
for(Map.Entry<Long, Bitmap> map : featureViewObjects.getBitmaps().entrySet() ){
sliderItems.add(new SliderItem(map.getKey(),map.getValue()));
}
}
sliderAdapter.setData(sliderItems);
Expand Down

0 comments on commit 0a4be42

Please sign in to comment.