Panagiotis Triantafyllou

new keys

...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2 2
3 ext { 3 ext {
4 PUBLISH_GROUP_ID = 'ly.warp' 4 PUBLISH_GROUP_ID = 'ly.warp'
5 - PUBLISH_VERSION = '4.5.4.6rc10' 5 + PUBLISH_VERSION = '4.5.4.6rc11'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -108,6 +108,7 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe ...@@ -108,6 +108,7 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe
108 return; 108 return;
109 } 109 }
110 if (view.getId() == R.id.ll_get_gift) { 110 if (view.getId() == R.id.ll_get_gift) {
111 + mLlRedeem.setEnabled(false);
111 mPbLoading.setVisibility(View.VISIBLE); 112 mPbLoading.setVisibility(View.VISIBLE);
112 WarplyAnalyticsManager.logTrackersEvent(this, "click", ("RetrieveCoupon") 113 WarplyAnalyticsManager.logTrackersEvent(this, "click", ("RetrieveCoupon")
113 .concat(":") 114 .concat(":")
...@@ -218,12 +219,14 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe ...@@ -218,12 +219,14 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe
218 } else { 219 } else {
219 showDialog(false, status); 220 showDialog(false, status);
220 } 221 }
222 + mLlRedeem.setEnabled(true);
221 } 223 }
222 224
223 @Override 225 @Override
224 public void onFailure(int errorCode) { 226 public void onFailure(int errorCode) {
225 mPbLoading.setVisibility(View.GONE); 227 mPbLoading.setVisibility(View.GONE);
226 showDialog(false, errorCode); 228 showDialog(false, errorCode);
229 + mLlRedeem.setEnabled(true);
227 } 230 }
228 }; 231 };
229 232
......
1 <resources> 1 <resources>
2 <dimen name="width_full">320dp</dimen> 2 <dimen name="width_full">320dp</dimen>
3 <dimen name="height_carousel">220dp</dimen> 3 <dimen name="height_carousel">220dp</dimen>
4 - <dimen name="marginTop">240dp</dimen> 4 + <dimen name="marginTop">140dp</dimen>
5 </resources> 5 </resources>
......