Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Sep 17, 2024
1 parent c77a52a commit ef4fe64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.oppia.android.app.player.state

import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
Expand Down Expand Up @@ -340,10 +339,8 @@ class StateFragmentPresenter @Inject constructor(

stateViewModel.itemList.clear()
stateViewModel.itemList += dataPair.first
Log.d("draganddrop", "processEphemeralState: Item list - ${stateViewModel.itemList}")
stateViewModel.rightItemList.clear()
stateViewModel.rightItemList += dataPair.second
Log.d("draganddrop", "processEphemeralState: Right item list - ${stateViewModel.rightItemList}")

if (isInNewState) {
(binding.stateRecyclerView.layoutManager as LinearLayoutManager).scrollToPositionWithOffset(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DragAndDropSortInteractionViewModel private constructor(
private val translationController: TranslationController,
userAnswerState: UserAnswerState,
fragment: Fragment,
private val explorationProgressController: ExplorationProgressController
explorationProgressController: ExplorationProgressController
) : StateItemViewModel(ViewType.DRAG_DROP_SORT_INTERACTION),
InteractionAnswerHandler,
OnItemDragListener,
Expand Down

0 comments on commit ef4fe64

Please sign in to comment.