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-10-13 13:50:25 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
12f1cf86971ce8f14190ea104c9b927171b26a39
12f1cf86
1 parent
da4a1e83
new keys
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/GiftsForYouActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/GiftsForYouActivity.java
View file @
12f1cf8
package
ly
.
warp
.
sdk
.
activities
;
import
android.app.Activity
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.os.Bundle
;
...
...
@@ -12,6 +11,7 @@ import android.widget.ImageView;
import
android.widget.LinearLayout
;
import
android.widget.TextView
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.recyclerview.widget.LinearLayoutManager
;
import
androidx.recyclerview.widget.RecyclerView
;
import
androidx.work.OneTimeWorkRequest
;
...
...
@@ -46,7 +46,7 @@ import ly.warp.sdk.utils.managers.WarplyManager;
import
ly.warp.sdk.views.adapters.MergedGiftsAdapter
;
public
class
GiftsForYouActivity
extends
Activity
implements
View
.
OnClickListener
{
public
class
GiftsForYouActivity
extends
A
ppCompatA
ctivity
implements
View
.
OnClickListener
{
// ===========================================================
// Constants
...
...
@@ -156,6 +156,7 @@ public class GiftsForYouActivity extends Activity implements View.OnClickListene
@Override
protected
void
onActivityResult
(
int
requestCode
,
int
resultCode
,
Intent
data
)
{
super
.
onActivityResult
(
requestCode
,
resultCode
,
data
);
if
(
requestCode
==
1004
)
{
OneTimeWorkRequest
mywork
=
new
OneTimeWorkRequest
.
Builder
(
EventCampaignService
.
class
).
build
();
WorkManager
.
getInstance
(
GiftsForYouActivity
.
this
).
enqueue
(
mywork
);
...
...
Please
register
or
login
to post a comment