Showing
1 changed file
with
68 additions
and
0 deletions
| 1 | +package ly.warp.sdk.activities; | ||
| 2 | + | ||
| 3 | +import android.app.Activity; | ||
| 4 | +import android.content.Intent; | ||
| 5 | +import android.graphics.Paint; | ||
| 6 | +import android.os.Bundle; | ||
| 7 | +import android.view.View; | ||
| 8 | +import android.widget.ImageView; | ||
| 9 | +import android.widget.LinearLayout; | ||
| 10 | +import android.widget.TextView; | ||
| 11 | + | ||
| 12 | +import ly.warp.sdk.R; | ||
| 13 | + | ||
| 14 | + | ||
| 15 | +public class CouponTransactionActivity extends Activity implements View.OnClickListener { | ||
| 16 | + | ||
| 17 | + // =========================================================== | ||
| 18 | + // Constants | ||
| 19 | + // =========================================================== | ||
| 20 | + | ||
| 21 | + // =========================================================== | ||
| 22 | + // Fields | ||
| 23 | + // =========================================================== | ||
| 24 | + | ||
| 25 | + private ImageView mIvBack; | ||
| 26 | + | ||
| 27 | + // =========================================================== | ||
| 28 | + // Methods for/from SuperClass/Interfaces | ||
| 29 | + // =========================================================== | ||
| 30 | + | ||
| 31 | + @Override | ||
| 32 | + public void onCreate(Bundle savedInstanceState) { | ||
| 33 | + super.onCreate(savedInstanceState); | ||
| 34 | + setContentView(R.layout.activity_coupons_history); | ||
| 35 | + | ||
| 36 | +// mIvBack = findViewById(R.id.iv_coupon_info_back); | ||
| 37 | + | ||
| 38 | + initViews(); | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + @Override | ||
| 42 | + public void onResume() { | ||
| 43 | + super.onResume(); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + @Override | ||
| 47 | + public void onClick(View view) { | ||
| 48 | + if (view.getId() == R.id.iv_coupon_info_back) { | ||
| 49 | + onBackPressed(); | ||
| 50 | + return; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + // =========================================================== | ||
| 56 | + // Methods | ||
| 57 | + // =========================================================== | ||
| 58 | + | ||
| 59 | + private void initViews() { | ||
| 60 | +// mIvBack.setOnClickListener(this); | ||
| 61 | + | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + // =========================================================== | ||
| 65 | + // Inner and Anonymous Classes | ||
| 66 | + // =========================================================== | ||
| 67 | + | ||
| 68 | +} |
-
Please register or login to post a comment