diff --git a/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/api/AppLaunch.java b/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/api/AppLaunch.java index 2fe01b9..0bd2f03 100644 --- a/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/api/AppLaunch.java +++ b/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/api/AppLaunch.java @@ -845,7 +845,7 @@ private void displayBannerDialog(Context context,MessageData messageData){ dialog.setView(dialogLayout); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); ImageView image = (ImageView) dialogLayout.findViewById(R.id.goProDialogImage); - Picasso.with(context).load(messageData.getImageUrl()).placeholder(R.drawable.placeholder_image).into(image); + Picasso.get().load(messageData.getImageUrl()).placeholder(R.drawable.placeholder_image).into(image); TextView titleView = (TextView) dialogLayout.findViewById(R.id.title); titleView.setText(messageData.getTitle()); TextView subTitleView = (TextView) dialogLayout.findViewById(R.id.subtitle); diff --git a/AppLaunchClientAndroid/build.gradle b/AppLaunchClientAndroid/build.gradle index 8eb320e..7537e8a 100644 --- a/AppLaunchClientAndroid/build.gradle +++ b/AppLaunchClientAndroid/build.gradle @@ -3,6 +3,10 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { classpath 'com.android.tools.build:gradle:2.3.3' @@ -16,6 +20,10 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } }