Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2022-03-23 17:54:46 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c91f42107fe79565a90b212963beac0fe9947e0c
c91f4210
1 parent
16a8f47f
tets commit 2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
5 deletions
warply_android_sdk/src/main/AndroidManifest.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/BillPaymentActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/HomeFragment.java
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
warply_android_sdk/src/main/AndroidManifest.xml
View file @
c91f421
...
...
@@ -32,6 +32,11 @@
android:screenOrientation=
"portrait"
/>
<activity
android:name=
"ly.warp.sdk.activities.BillPaymentActivity"
android:exported=
"false"
android:screenOrientation=
"portrait"
/>
<activity
android:name=
"ly.warp.sdk.dexter.PermissionsActivity"
android:exported=
"false"
android:launchMode=
"singleInstance"
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/BillPaymentActivity.java
View file @
c91f421
...
...
@@ -29,7 +29,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
fragment_bill_payment
);
mIvBack
=
findViewById
(
R
.
id
.
iv_back
);
//
mIvBack = findViewById(R.id.iv_back);
initViews
();
}
...
...
@@ -51,7 +51,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
// ===========================================================
private
void
initViews
()
{
mIvBack
.
setOnClickListener
(
this
);
//
mIvBack.setOnClickListener(this);
}
// ===========================================================
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/HomeFragment.java
View file @
c91f421
package
ly
.
warp
.
sdk
.
fragments
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.util.Log
;
import
android.view.LayoutInflater
;
...
...
@@ -17,6 +18,8 @@ import androidx.recyclerview.widget.RecyclerView;
import
org.json.JSONException
;
import
ly.warp.sdk.R
;
import
ly.warp.sdk.activities.BillPaymentActivity
;
import
ly.warp.sdk.activities.LoyaltyActivity
;
import
ly.warp.sdk.views.adapters.HomeCampaignAdapter
;
import
ly.warp.sdk.views.adapters.HomeCouponAdapter
;
import
ly.warp.sdk.activities.WarpViewActivity
;
...
...
@@ -117,9 +120,12 @@ public class HomeFragment extends Fragment {
mRecyclerCoupons
.
setAdapter
(
mAdapterCoupons
);
mAdapterCoupons
.
getPositionClicks
()
.
doOnNext
(
coupon
->
{
getContext
().
startActivity
(
WarpViewActivity
.
createIntentFromSessionUUID
(
getContext
(),
coupon
.
getCoupon
()));
// getContext().startActivity(
// WarpViewActivity.createIntentFromSessionUUID(getContext(),
// coupon.getCoupon()));
Intent
intent
=
new
Intent
(
getContext
(),
BillPaymentActivity
.
class
);
getContext
().
startActivity
(
intent
);
})
.
doOnError
(
error
->
{
})
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
View file @
c91f421
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment