Merge branch 'dev' into refactor

This commit is contained in:
Milos Kozak 2023-09-19 09:03:31 +02:00
commit 49c44a52b9
10 changed files with 14 additions and 14 deletions

View file

@ -9,7 +9,7 @@ import info.nightscout.interfaces.profile.Profile
* Every function has a param from previous chained call
* Function can limit the value even more and add another reason of restriction
*
* see [info.nightscout.implementation.constraints.ConstraintsImpl]
* see [info.nightscout.plugins.constraints.ConstraintsImpl]
* which iterates over all registered plugins with [Constraints] implemented
*
* @return updated parameter

View file

@ -1,4 +1,4 @@
package info.nightscout.interfaces.dragHelpers
package info.nightscout.core.ui.dragHelpers
interface ItemTouchHelperAdapter {

View file

@ -1,4 +1,4 @@
package info.nightscout.interfaces.dragHelpers
package info.nightscout.core.ui.dragHelpers
import androidx.recyclerview.widget.RecyclerView

View file

@ -1,4 +1,4 @@
package info.nightscout.interfaces.dragHelpers
package info.nightscout.core.ui.dragHelpers
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.ItemTouchHelper.ACTION_STATE_DRAG

View file

@ -36,9 +36,9 @@ import info.nightscout.core.utils.HtmlHelper
import info.nightscout.core.utils.fabric.FabricPrivacy
import info.nightscout.database.entities.UserEntry.Action
import info.nightscout.database.entities.UserEntry.Sources
import info.nightscout.interfaces.dragHelpers.ItemTouchHelperAdapter
import info.nightscout.interfaces.dragHelpers.OnStartDragListener
import info.nightscout.interfaces.dragHelpers.SimpleItemTouchHelperCallback
import info.nightscout.core.ui.dragHelpers.ItemTouchHelperAdapter
import info.nightscout.core.ui.dragHelpers.OnStartDragListener
import info.nightscout.core.ui.dragHelpers.SimpleItemTouchHelperCallback
import info.nightscout.interfaces.logging.UserEntryLogger
import info.nightscout.rx.AapsSchedulers
import info.nightscout.rx.bus.RxBus

View file

@ -5,6 +5,7 @@ import dagger.Module
import info.nightscout.interfaces.bgQualityCheck.BgQualityCheck
import info.nightscout.interfaces.constraints.Constraints
import info.nightscout.interfaces.versionChecker.VersionCheckerUtils
import info.nightscout.plugins.constraints.ConstraintsImpl
import info.nightscout.plugins.constraints.bgQualityCheck.BgQualityCheckPlugin
import info.nightscout.plugins.constraints.versionChecker.VersionCheckerUtilsImpl
@ -23,6 +24,6 @@ abstract class PluginsConstraintsModule {
@Binds fun bindVersionCheckerUtils(versionCheckerUtils: VersionCheckerUtilsImpl): VersionCheckerUtils
@Binds fun bindBgQualityCheck(bgQualityCheck: BgQualityCheckPlugin): BgQualityCheck
@Binds fun bindsConstraints(constraintsImpl: info.nightscout.plugins.constraints.ConstraintsImpl): Constraints
@Binds fun bindsConstraints(constraintsImpl: ConstraintsImpl): Constraints
}
}

View file

@ -1,4 +1,4 @@
package info.nightscout.interfaces.constraints.versionChecker
package info.nightscout.plugins.constraints.versionChecker
import org.joda.time.LocalDate
import org.json.JSONArray

View file

@ -3,7 +3,6 @@ package info.nightscout.plugins.constraints.versionChecker
import android.os.Build
import dagger.Lazy
import info.nightscout.interfaces.Config
import info.nightscout.interfaces.constraints.versionChecker.AllowedVersions
import info.nightscout.interfaces.notifications.Notification
import info.nightscout.interfaces.receivers.ReceiverStatusStore
import info.nightscout.interfaces.ui.UiInteraction

View file

@ -1,6 +1,6 @@
package info.nightscout.plugins.constraints.versionChecker
import info.nightscout.interfaces.constraints.versionChecker.AllowedVersions
import info.nightscout.plugins.constraints.versionChecker.AllowedVersions
import org.joda.time.LocalDate
import org.json.JSONArray
import org.json.JSONObject

View file

@ -22,9 +22,9 @@ import info.nightscout.core.utils.ActionModeHelper
import info.nightscout.core.utils.fabric.FabricPrivacy
import info.nightscout.core.wizard.QuickWizard
import info.nightscout.core.wizard.QuickWizardEntry
import info.nightscout.interfaces.dragHelpers.ItemTouchHelperAdapter
import info.nightscout.interfaces.dragHelpers.OnStartDragListener
import info.nightscout.interfaces.dragHelpers.SimpleItemTouchHelperCallback
import info.nightscout.core.ui.dragHelpers.ItemTouchHelperAdapter
import info.nightscout.core.ui.dragHelpers.OnStartDragListener
import info.nightscout.core.ui.dragHelpers.SimpleItemTouchHelperCallback
import info.nightscout.rx.AapsSchedulers
import info.nightscout.rx.bus.RxBus
import info.nightscout.shared.extensions.toVisibility