mirror of
https://github.com/meowarex/rl-mobile.git
synced 2026-10-15 07:53:12 +11:00
refactor(swipe to queue): fixes and logic improvements
This commit is contained in:
1 parent
28bf8ad148
commit
05b6f4edb2
9 files changed
+17
-139
No files matched your search
@@ -371,25 +371,6 @@
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isValid(Lradiant/swipe/QueueRequest;)Z
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0, p1}, Lradiant/swipe/DynamicTrackResolver;->currentTrack(Lradiant/swipe/QueueRequest;)Lcom/aspiro/wamp/model/Track;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :invalid
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:invalid
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public resolve(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)Lradiant/swipe/QueueRequest;
|
||||
.locals 5
|
||||
|
||||
@@ -456,6 +437,8 @@
|
||||
|
||||
iget-object v0, p1, Lo6/b;->c:Lo6/b$a;
|
||||
|
||||
if-eqz v0, :invalid
|
||||
|
||||
iget v0, v0, Lo6/b$a;->d:I
|
||||
|
||||
new-instance v1, Lradiant/swipe/QueueRequest;
|
||||
|
||||
Reference in new issue
Block a user