diff --git a/accessibility/src/main/java/com/funkymuse/accessibility/AccessibilityExtensions.kt b/accessibility/src/main/java/dev/funkymuse/accessibility/AccessibilityExtensions.kt similarity index 95% rename from accessibility/src/main/java/com/funkymuse/accessibility/AccessibilityExtensions.kt rename to accessibility/src/main/java/dev/funkymuse/accessibility/AccessibilityExtensions.kt index 2fc3ac27f..eb3388619 100644 --- a/accessibility/src/main/java/com/funkymuse/accessibility/AccessibilityExtensions.kt +++ b/accessibility/src/main/java/dev/funkymuse/accessibility/AccessibilityExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.accessibility +package dev.funkymuse.accessibility import android.accessibilityservice.AccessibilityService import android.content.ComponentName @@ -61,6 +61,6 @@ fun logViewHierarchy(nodeInfo: AccessibilityNodeInfo, depth: Int = 0, callback(spacerString, nodeInfo) for (i in 0 until nodeInfo.childCount) { - com.funkymuse.accessibility.logViewHierarchy(nodeInfo.getChild(i), depth + 1, callback) + logViewHierarchy(nodeInfo.getChild(i), depth + 1, callback) } } \ No newline at end of file diff --git a/activity/src/main/java/com/funkymuse/activity/ActivityExtensions.kt b/activity/src/main/java/dev/funkymuse/activity/ActivityExtensions.kt similarity index 99% rename from activity/src/main/java/com/funkymuse/activity/ActivityExtensions.kt rename to activity/src/main/java/dev/funkymuse/activity/ActivityExtensions.kt index 9a7b020ec..17cef4b19 100644 --- a/activity/src/main/java/com/funkymuse/activity/ActivityExtensions.kt +++ b/activity/src/main/java/dev/funkymuse/activity/ActivityExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.activity +package dev.funkymuse.activity import android.Manifest.permission.WRITE_SETTINGS import android.annotation.SuppressLint diff --git a/activity/src/main/java/com/funkymuse/activity/ActivityExtensions2.kt b/activity/src/main/java/dev/funkymuse/activity/ActivityExtensions2.kt similarity index 99% rename from activity/src/main/java/com/funkymuse/activity/ActivityExtensions2.kt rename to activity/src/main/java/dev/funkymuse/activity/ActivityExtensions2.kt index de3e7ae6e..b67c76417 100644 --- a/activity/src/main/java/com/funkymuse/activity/ActivityExtensions2.kt +++ b/activity/src/main/java/dev/funkymuse/activity/ActivityExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.activity +package dev.funkymuse.activity import android.app.Activity import android.content.Context diff --git a/activity/src/main/java/com/funkymuse/activity/ActivityUtils.kt b/activity/src/main/java/dev/funkymuse/activity/ActivityUtils.kt similarity index 99% rename from activity/src/main/java/com/funkymuse/activity/ActivityUtils.kt rename to activity/src/main/java/dev/funkymuse/activity/ActivityUtils.kt index 3cdb9bff7..c1721a006 100644 --- a/activity/src/main/java/com/funkymuse/activity/ActivityUtils.kt +++ b/activity/src/main/java/dev/funkymuse/activity/ActivityUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.activity +package dev.funkymuse.activity import android.annotation.SuppressLint import android.app.Activity diff --git a/animations/src/main/java/com/funkymuse/animations/AnimUtils.kt b/animations/src/main/java/dev/funkymuse/animations/AnimUtils.kt similarity index 96% rename from animations/src/main/java/com/funkymuse/animations/AnimUtils.kt rename to animations/src/main/java/dev/funkymuse/animations/AnimUtils.kt index 20e535cd3..2730c3c72 100644 --- a/animations/src/main/java/com/funkymuse/animations/AnimUtils.kt +++ b/animations/src/main/java/dev/funkymuse/animations/AnimUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.TimeInterpolator diff --git a/animations/src/main/java/com/funkymuse/animations/AnimationConsts.kt b/animations/src/main/java/dev/funkymuse/animations/AnimationConsts.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/AnimationConsts.kt rename to animations/src/main/java/dev/funkymuse/animations/AnimationConsts.kt index 668d104af..5e1aae14e 100644 --- a/animations/src/main/java/com/funkymuse/animations/AnimationConsts.kt +++ b/animations/src/main/java/dev/funkymuse/animations/AnimationConsts.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.Animator import android.animation.AnimatorListenerAdapter @@ -16,7 +16,7 @@ import androidx.annotation.ColorRes import androidx.interpolator.view.animation.FastOutLinearInInterpolator import androidx.interpolator.view.animation.FastOutSlowInInterpolator import androidx.interpolator.view.animation.LinearOutSlowInInterpolator -import com.funkymuse.view.dp +import dev.funkymuse.view.dp import kotlin.math.hypot diff --git a/animations/src/main/java/com/funkymuse/animations/Animations.kt b/animations/src/main/java/dev/funkymuse/animations/Animations.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/Animations.kt rename to animations/src/main/java/dev/funkymuse/animations/Animations.kt index 444b58713..08bdd32f4 100644 --- a/animations/src/main/java/com/funkymuse/animations/Animations.kt +++ b/animations/src/main/java/dev/funkymuse/animations/Animations.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.Animator import android.animation.AnimatorListenerAdapter @@ -17,9 +17,9 @@ import android.widget.RelativeLayout import android.widget.TextView import androidx.annotation.RequiresApi import androidx.annotation.StringRes -import com.funkymuse.setofusefulkotlinextensions.animations.R -import com.funkymuse.view.invisible -import com.funkymuse.view.visible +import dev.funkymuse.setofusefulkotlinextensions.animations.R +import dev.funkymuse.view.invisible +import dev.funkymuse.view.visible import kotlin.math.hypot import kotlin.math.max diff --git a/animations/src/main/java/com/funkymuse/animations/Animations2.kt b/animations/src/main/java/dev/funkymuse/animations/Animations2.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/Animations2.kt rename to animations/src/main/java/dev/funkymuse/animations/Animations2.kt index 8145550aa..4e1c3d72d 100644 --- a/animations/src/main/java/com/funkymuse/animations/Animations2.kt +++ b/animations/src/main/java/dev/funkymuse/animations/Animations2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.Animator import android.animation.AnimatorListenerAdapter @@ -25,10 +25,10 @@ import androidx.annotation.ColorInt import androidx.core.content.ContextCompat import androidx.core.view.isVisible import androidx.core.widget.NestedScrollView -import com.funkymuse.view.afterLatestMeasured -import com.funkymuse.view.gone -import com.funkymuse.view.invisible -import com.funkymuse.view.visible +import dev.funkymuse.view.afterLatestMeasured +import dev.funkymuse.view.gone +import dev.funkymuse.view.invisible +import dev.funkymuse.view.visible import kotlin.math.hypot diff --git a/animations/src/main/java/com/funkymuse/animations/AttentionAnim.kt b/animations/src/main/java/dev/funkymuse/animations/AttentionAnim.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/AttentionAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/AttentionAnim.kt index 0891da3e7..ab74af60f 100644 --- a/animations/src/main/java/com/funkymuse/animations/AttentionAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/AttentionAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/BounceAnim.kt b/animations/src/main/java/dev/funkymuse/animations/BounceAnim.kt similarity index 98% rename from animations/src/main/java/com/funkymuse/animations/BounceAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/BounceAnim.kt index f0e2ee2db..672323d26 100644 --- a/animations/src/main/java/com/funkymuse/animations/BounceAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/BounceAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/FadeAnim.kt b/animations/src/main/java/dev/funkymuse/animations/FadeAnim.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/FadeAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/FadeAnim.kt index de3f52eef..4178ee5ac 100644 --- a/animations/src/main/java/com/funkymuse/animations/FadeAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/FadeAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/FlipAnim.kt b/animations/src/main/java/dev/funkymuse/animations/FlipAnim.kt similarity index 97% rename from animations/src/main/java/com/funkymuse/animations/FlipAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/FlipAnim.kt index c9b093a49..5e8217b15 100644 --- a/animations/src/main/java/com/funkymuse/animations/FlipAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/FlipAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/RotateAnim.kt b/animations/src/main/java/dev/funkymuse/animations/RotateAnim.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/RotateAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/RotateAnim.kt index 19cf8222a..950b1635e 100644 --- a/animations/src/main/java/com/funkymuse/animations/RotateAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/RotateAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/SlideAnim.kt b/animations/src/main/java/dev/funkymuse/animations/SlideAnim.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/SlideAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/SlideAnim.kt index 49c175e43..db1a20764 100644 --- a/animations/src/main/java/com/funkymuse/animations/SlideAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/SlideAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/ZoomAnim.kt b/animations/src/main/java/dev/funkymuse/animations/ZoomAnim.kt similarity index 99% rename from animations/src/main/java/com/funkymuse/animations/ZoomAnim.kt rename to animations/src/main/java/dev/funkymuse/animations/ZoomAnim.kt index 90e296038..9187868ac 100644 --- a/animations/src/main/java/com/funkymuse/animations/ZoomAnim.kt +++ b/animations/src/main/java/dev/funkymuse/animations/ZoomAnim.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations +package dev.funkymuse.animations import android.animation.AnimatorSet import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/animators/ProgressAnimator.kt b/animations/src/main/java/dev/funkymuse/animations/animators/ProgressAnimator.kt similarity index 98% rename from animations/src/main/java/com/funkymuse/animations/animators/ProgressAnimator.kt rename to animations/src/main/java/dev/funkymuse/animations/animators/ProgressAnimator.kt index 396d31df2..d2356ef44 100644 --- a/animations/src/main/java/com/funkymuse/animations/animators/ProgressAnimator.kt +++ b/animations/src/main/java/dev/funkymuse/animations/animators/ProgressAnimator.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations.animators +package dev.funkymuse.animations.animators import android.animation.Animator import android.animation.AnimatorListenerAdapter diff --git a/animations/src/main/java/com/funkymuse/animations/transition/DissolveTransition.kt b/animations/src/main/java/dev/funkymuse/animations/transition/DissolveTransition.kt similarity index 98% rename from animations/src/main/java/com/funkymuse/animations/transition/DissolveTransition.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/DissolveTransition.kt index f8a690090..b71f34a3b 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/DissolveTransition.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/DissolveTransition.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.funkymuse.animations.transition +package dev.funkymuse.animations.transition import android.animation.Animator import android.animation.ObjectAnimator diff --git a/animations/src/main/java/com/funkymuse/animations/transition/StaggerTransition.kt b/animations/src/main/java/dev/funkymuse/animations/transition/StaggerTransition.kt similarity index 94% rename from animations/src/main/java/com/funkymuse/animations/transition/StaggerTransition.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/StaggerTransition.kt index c2e0f2516..6f4e5e1f2 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/StaggerTransition.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/StaggerTransition.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.funkymuse.animations.transition +package dev.funkymuse.animations.transition import android.animation.Animator import android.animation.AnimatorSet @@ -27,8 +27,8 @@ import androidx.transition.Fade import androidx.transition.SidePropagation import androidx.transition.TransitionManager import androidx.transition.TransitionValues -import com.funkymuse.animations.transition.interpolators.LINEAR_OUT_SLOW_IN -import com.funkymuse.animations.transition.utils.LARGE_EXPAND_DURATION +import dev.funkymuse.animations.transition.interpolators.LINEAR_OUT_SLOW_IN +import dev.funkymuse.animations.transition.utils.LARGE_EXPAND_DURATION /** * Transition for stagger effect. diff --git a/animations/src/main/java/com/funkymuse/animations/transition/TransitionExtensions.kt b/animations/src/main/java/dev/funkymuse/animations/transition/TransitionExtensions.kt similarity index 98% rename from animations/src/main/java/com/funkymuse/animations/transition/TransitionExtensions.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/TransitionExtensions.kt index b88eb8267..dee64b7d8 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/TransitionExtensions.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/TransitionExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations.transition +package dev.funkymuse.animations.transition import android.animation.ValueAnimator import android.app.Activity @@ -15,7 +15,7 @@ import androidx.transition.AutoTransition import androidx.transition.Transition import androidx.transition.TransitionInflater import androidx.transition.TransitionManager -import com.funkymuse.view.scaleXY +import dev.funkymuse.view.scaleXY diff --git a/animations/src/main/java/com/funkymuse/animations/transition/interpolators/Interpolators.kt b/animations/src/main/java/dev/funkymuse/animations/transition/interpolators/Interpolators.kt similarity index 94% rename from animations/src/main/java/com/funkymuse/animations/transition/interpolators/Interpolators.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/interpolators/Interpolators.kt index b54f7c578..7d8d02556 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/interpolators/Interpolators.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/interpolators/Interpolators.kt @@ -1,4 +1,4 @@ -package com.funkymuse.animations.transition.interpolators +package dev.funkymuse.animations.transition.interpolators import android.animation.TimeInterpolator import androidx.core.view.animation.PathInterpolatorCompat diff --git a/animations/src/main/java/com/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt b/animations/src/main/java/dev/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt similarity index 95% rename from animations/src/main/java/com/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt index 692594963..bf836f6c5 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/interpolators/SegmentInterpolator.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.funkymuse.animations.transition.interpolators +package dev.funkymuse.animations.transition.interpolators import android.animation.TimeInterpolator diff --git a/animations/src/main/java/com/funkymuse/animations/transition/utils/Durations.kt b/animations/src/main/java/dev/funkymuse/animations/transition/utils/Durations.kt similarity index 94% rename from animations/src/main/java/com/funkymuse/animations/transition/utils/Durations.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/utils/Durations.kt index 6b6fa4fb4..f584ac01f 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/utils/Durations.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/utils/Durations.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.funkymuse.animations.transition.utils +package dev.funkymuse.animations.transition.utils // Animation durations. // See https://material.io/design/motion/speed.html#duration for the detail. diff --git a/animations/src/main/java/com/funkymuse/animations/transition/utils/SequentialTransitionSet.kt b/animations/src/main/java/dev/funkymuse/animations/transition/utils/SequentialTransitionSet.kt similarity index 97% rename from animations/src/main/java/com/funkymuse/animations/transition/utils/SequentialTransitionSet.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/utils/SequentialTransitionSet.kt index 5424ef9b2..aba6e093d 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/utils/SequentialTransitionSet.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/utils/SequentialTransitionSet.kt @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.funkymuse.animations.transition.utils +package dev.funkymuse.animations.transition.utils import android.animation.TimeInterpolator import androidx.transition.Transition import androidx.transition.TransitionSet -import com.funkymuse.animations.transition.interpolators.SegmentInterpolator +import dev.funkymuse.animations.transition.interpolators.SegmentInterpolator /** * Runs multiple [Transition]s sequentially. diff --git a/animations/src/main/java/com/funkymuse/animations/transition/utils/TransitionUtils.kt b/animations/src/main/java/dev/funkymuse/animations/transition/utils/TransitionUtils.kt similarity index 93% rename from animations/src/main/java/com/funkymuse/animations/transition/utils/TransitionUtils.kt rename to animations/src/main/java/dev/funkymuse/animations/transition/utils/TransitionUtils.kt index c27f65f10..2bbfefc4b 100644 --- a/animations/src/main/java/com/funkymuse/animations/transition/utils/TransitionUtils.kt +++ b/animations/src/main/java/dev/funkymuse/animations/transition/utils/TransitionUtils.kt @@ -1,12 +1,12 @@ -package com.funkymuse.animations.transition.utils +package dev.funkymuse.animations.transition.utils import androidx.recyclerview.widget.RecyclerView import androidx.transition.ChangeBounds import androidx.transition.Fade import androidx.transition.Transition import androidx.transition.TransitionSet -import com.funkymuse.animations.transition.interpolators.FAST_OUT_SLOW_IN -import com.funkymuse.animations.transition.onTransitionEnd +import dev.funkymuse.animations.transition.interpolators.FAST_OUT_SLOW_IN +import dev.funkymuse.animations.transition.onTransitionEnd /** * Usage diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt b/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt deleted file mode 100644 index 12d3a8e99..000000000 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt +++ /dev/null @@ -1,8 +0,0 @@ -package com.funkymuse.setofusefulkotlinextensions.nav - -import androidx.fragment.app.Fragment -import com.funkymuse.setofusefulkotlinextensions.R - -class DetailFragment : Fragment(R.layout.fragment_test) { - -} \ No newline at end of file diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/AppLevel.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/AppLevel.kt similarity index 72% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/AppLevel.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/AppLevel.kt index 172788585..5386a2f05 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/AppLevel.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/AppLevel.kt @@ -1,4 +1,4 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.app.Application diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt similarity index 78% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt index ec56cef6a..0115be751 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DragAndDropActivity.kt @@ -1,10 +1,10 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.os.Bundle import androidx.appcompat.app.AppCompatActivity -import com.funkymuse.customviews.dragAndDrop.DragAndDropListener -import com.funkymuse.setofusefulkotlinextensions.databinding.ActivityDragAndDropBinding -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.customviews.dragAndDrop.DragAndDropListener +import dev.funkymuse.setofusefulkotlinextensions.databinding.ActivityDragAndDropBinding +import dev.funkymuse.viewbinding.viewBinding diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt similarity index 97% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt index 53be12b50..1d65286fc 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/DrawingActivity.kt @@ -1,4 +1,4 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.annotation.SuppressLint import android.os.Bundle @@ -6,10 +6,10 @@ import android.view.GestureDetector import android.view.MotionEvent import android.view.ScaleGestureDetector import androidx.appcompat.app.AppCompatActivity -import com.funkymuse.kotlinextensions.motionEvent.isNewGesture -import com.funkymuse.kotlinextensions.views.clear -import com.funkymuse.setofusefulkotlinextensions.databinding.ActivityDrawingBinding -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.kotlinextensions.motionEvent.isNewGesture +import dev.funkymuse.kotlinextensions.views.clear +import dev.funkymuse.setofusefulkotlinextensions.databinding.ActivityDrawingBinding +import dev.funkymuse.viewbinding.viewBinding class DrawingActivity : AppCompatActivity() { diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt similarity index 76% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt index 46deaa974..90f9fb1d0 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/MainAbstractActivity.kt @@ -1,4 +1,4 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.annotation.SuppressLint @@ -10,34 +10,34 @@ import androidx.appcompat.app.AppCompatActivity import androidx.core.os.bundleOf import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.RecyclerView -import com.funkymuse.animations.transition.utils.fadeRecyclerTransition -import com.funkymuse.context.getColorCompat -import com.funkymuse.context.isGestureNavigationEnabled -import com.funkymuse.coroutines.textChanges -import com.funkymuse.customviews.AppRater -import com.funkymuse.customviews.autoStart.AutoStartHelper -import com.funkymuse.customviews.autoStart.ConfirmationDialogAutoStart -import com.funkymuse.internetdetector.InternetDetector -import com.funkymuse.kotlinextensions.log.debug -import com.funkymuse.kotlinextensions.misc.RunCodeEveryXLaunch -import com.funkymuse.kotlinextensions.views.asSearchView -import com.funkymuse.kotlinextensions.views.setQueryAndExpand -import com.funkymuse.lifecycle.repeatingJobOnStarted -import com.funkymuse.recyclerview.RecyclerSwipeItemHandler -import com.funkymuse.recyclerview.addSwipe -import com.funkymuse.recyclerview.generateRecycler -import com.funkymuse.recyclerview.hideOnScroll -import com.funkymuse.retrofit.apiresult.ApiResult -import com.funkymuse.retrofit.throwables.NoConnectionException -import com.funkymuse.setofusefulkotlinextensions.adapter.TestModel -import com.funkymuse.setofusefulkotlinextensions.adapter.TestPlaceHolderAdapter -import com.funkymuse.setofusefulkotlinextensions.adapter.TestViewBindingAdapter -import com.funkymuse.setofusefulkotlinextensions.adapter.TestViewHolderShimmer -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding -import com.funkymuse.setofusefulkotlinextensions.databinding.ActivityMainBinding -import com.funkymuse.view.getEditTextSearchView -import com.funkymuse.view.setOnClickListenerCooldown -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.animations.transition.utils.fadeRecyclerTransition +import dev.funkymuse.context.getColorCompat +import dev.funkymuse.context.isGestureNavigationEnabled +import dev.funkymuse.coroutines.textChanges +import dev.funkymuse.customviews.AppRater +import dev.funkymuse.customviews.autoStart.AutoStartHelper +import dev.funkymuse.customviews.autoStart.ConfirmationDialogAutoStart +import dev.funkymuse.internetdetector.InternetDetector +import dev.funkymuse.kotlinextensions.log.debug +import dev.funkymuse.kotlinextensions.misc.RunCodeEveryXLaunch +import dev.funkymuse.kotlinextensions.views.asSearchView +import dev.funkymuse.kotlinextensions.views.setQueryAndExpand +import dev.funkymuse.lifecycle.repeatingJobOnStarted +import dev.funkymuse.recyclerview.RecyclerSwipeItemHandler +import dev.funkymuse.recyclerview.addSwipe +import dev.funkymuse.recyclerview.generateRecycler +import dev.funkymuse.recyclerview.hideOnScroll +import dev.funkymuse.retrofit.apiresult.ApiResult +import dev.funkymuse.retrofit.throwables.NoConnectionException +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestModel +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestPlaceHolderAdapter +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestViewBindingAdapter +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestViewHolderShimmer +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.setofusefulkotlinextensions.databinding.ActivityMainBinding +import dev.funkymuse.view.getEditTextSearchView +import dev.funkymuse.view.setOnClickListenerCooldown +import dev.funkymuse.viewbinding.viewBinding import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.map import kotlinx.coroutines.flow.onEach diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt similarity index 78% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt index 63b522c09..69a875bc9 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/PinchToZoomActivity.kt @@ -1,12 +1,12 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.os.Bundle import android.view.MotionEvent import android.view.ScaleGestureDetector import androidx.appcompat.app.AppCompatActivity -import com.funkymuse.setofusefulkotlinextensions.databinding.ActivityPinchToZoomBinding -import com.funkymuse.view.pinchToZoom -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.setofusefulkotlinextensions.databinding.ActivityPinchToZoomBinding +import dev.funkymuse.view.pinchToZoom +import dev.funkymuse.viewbinding.viewBinding diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestAVM.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestAVM.kt similarity index 84% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestAVM.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestAVM.kt index 4521b6d5d..534585b1d 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestAVM.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestAVM.kt @@ -1,19 +1,19 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope -import com.funkymuse.common.randomUUIDstring -import com.funkymuse.kotlinextensions.viewmodel.context -import com.funkymuse.retrofit.adapter.ApiResultAdapterFactory -import com.funkymuse.retrofit.apiresult.ApiResult -import com.funkymuse.retrofit.interceptors.ConnectivityInterceptor -import com.funkymuse.retrofit.randomPhotoIndex -import com.funkymuse.retrofit.viewstate.event.ViewStatefulEvent -import com.funkymuse.retrofit.viewstate.state.ViewState -import com.funkymuse.retrofit.viewstate.state.asViewStatePayloadWithEvents -import com.funkymuse.setofusefulkotlinextensions.adapter.TestModel +import dev.funkymuse.common.randomUUIDstring +import dev.funkymuse.kotlinextensions.viewmodel.context +import dev.funkymuse.retrofit.adapter.ApiResultAdapterFactory +import dev.funkymuse.retrofit.apiresult.ApiResult +import dev.funkymuse.retrofit.interceptors.ConnectivityInterceptor +import dev.funkymuse.retrofit.randomPhotoIndex +import dev.funkymuse.retrofit.viewstate.event.ViewStatefulEvent +import dev.funkymuse.retrofit.viewstate.state.ViewState +import dev.funkymuse.retrofit.viewstate.state.asViewStatePayloadWithEvents +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestModel import kotlinx.coroutines.delay import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.StateFlow diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestApi.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestApi.kt similarity index 57% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestApi.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestApi.kt index cc000eb34..8e8b3818a 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/TestApi.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/TestApi.kt @@ -1,7 +1,7 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions -import com.funkymuse.retrofit.apiresult.ApiResult -import com.funkymuse.setofusefulkotlinextensions.adapter.TestModel +import dev.funkymuse.retrofit.apiresult.ApiResult +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestModel import retrofit2.http.GET diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt similarity index 77% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt index c7fd4d811..0056df2f0 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/ViewEventProvider.kt @@ -1,7 +1,7 @@ -package com.funkymuse.setofusefulkotlinextensions +package dev.funkymuse.setofusefulkotlinextensions -import com.funkymuse.retrofit.viewstate.event.ViewEventContract -import com.funkymuse.retrofit.viewstate.event.ViewStatefulEvent +import dev.funkymuse.retrofit.viewstate.event.ViewEventContract +import dev.funkymuse.retrofit.viewstate.event.ViewStatefulEvent import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.Flow diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt similarity index 88% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt index a19074bcf..b1a979fb1 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestModel.kt @@ -1,4 +1,4 @@ -package com.funkymuse.setofusefulkotlinextensions.adapter +package dev.funkymuse.setofusefulkotlinextensions.adapter import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt similarity index 72% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt index 7086a4216..e1a1ef3ff 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestPlaceHolderAdapter.kt @@ -1,9 +1,9 @@ -package com.funkymuse.setofusefulkotlinextensions.adapter +package dev.funkymuse.setofusefulkotlinextensions.adapter import android.view.ViewGroup -import com.funkymuse.recyclerview.PlaceholderAdapter -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding -import com.funkymuse.view.inflater +import dev.funkymuse.recyclerview.PlaceholderAdapter +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.view.inflater class TestPlaceHolderAdapter : PlaceholderAdapter() { diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt similarity index 67% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt index b25dbc38a..410282981 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewBindingAdapter.kt @@ -1,7 +1,7 @@ -package com.funkymuse.setofusefulkotlinextensions.adapter +package dev.funkymuse.setofusefulkotlinextensions.adapter -import com.funkymuse.recyclerview.AbstractViewBindingAdapter -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.recyclerview.AbstractViewBindingAdapter +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding class TestViewBindingAdapter : AbstractViewBindingAdapter( diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt similarity index 87% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt index 9d0c934dd..ea4039be6 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolder.kt @@ -1,12 +1,12 @@ -package com.funkymuse.setofusefulkotlinextensions.adapter +package dev.funkymuse.setofusefulkotlinextensions.adapter import android.animation.ObjectAnimator import android.os.SystemClock import android.view.View import androidx.core.animation.doOnEnd import androidx.recyclerview.widget.RecyclerView -import com.funkymuse.setofusefulkotlinextensions.R -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.setofusefulkotlinextensions.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding class TestViewHolder(private val binding: CustomizableCardViewBinding) : RecyclerView.ViewHolder(binding.root) { @@ -31,7 +31,7 @@ class TestViewHolder(private val binding: CustomizableCardViewBinding) : Recycle animation.end() binding.content.setBackgroundResource(0) binding.title.setBackgroundResource(0) - binding.image.setImageResource(com.funkymuse.setofusefulkotlinextensions.customviews.R.drawable.pin_code_highlight_state) + binding.image.setImageResource(dev.funkymuse.setofusefulkotlinextensions.customviews.R.drawable.pin_code_highlight_state) } fun showPlaceHolder() { diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt similarity index 85% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt index 2e3494fbf..740314d8c 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/adapter/TestViewHolderShimmer.kt @@ -1,13 +1,13 @@ -package com.funkymuse.setofusefulkotlinextensions.adapter +package dev.funkymuse.setofusefulkotlinextensions.adapter import android.animation.ObjectAnimator import android.os.SystemClock import android.view.View import androidx.core.animation.doOnEnd import androidx.recyclerview.widget.RecyclerView -import com.funkymuse.kotlinextensions.views.setPrecomputedText -import com.funkymuse.setofusefulkotlinextensions.R -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.kotlinextensions.views.setPrecomputedText +import dev.funkymuse.setofusefulkotlinextensions.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding class TestViewHolderShimmer(private val binding: CustomizableCardViewBinding) : RecyclerView.ViewHolder(binding.root) { @@ -33,7 +33,7 @@ class TestViewHolderShimmer(private val binding: CustomizableCardViewBinding) : animation.end() binding.content.setBackgroundResource(0) binding.title.setBackgroundResource(0) - binding.image.setImageResource(com.funkymuse.setofusefulkotlinextensions.customviews.R.drawable.pin_code_highlight_state) + binding.image.setImageResource(dev.funkymuse.setofusefulkotlinextensions.customviews.R.drawable.pin_code_highlight_state) binding.content.setPrecomputedText(item.body) binding.title.setPrecomputedText(item.title) } diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDao.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDao.kt similarity index 79% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDao.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDao.kt index 89b773401..75f77ed84 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDao.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDao.kt @@ -1,10 +1,10 @@ -package com.funkymuse.setofusefulkotlinextensions.db +package dev.funkymuse.setofusefulkotlinextensions.db import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query -import com.funkymuse.setofusefulkotlinextensions.adapter.TestModel +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestModel import kotlinx.coroutines.flow.Flow @Dao diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt similarity index 73% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt index a24e08546..6c49328c7 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/db/TestDatabase.kt @@ -1,11 +1,11 @@ -package com.funkymuse.setofusefulkotlinextensions.db +package dev.funkymuse.setofusefulkotlinextensions.db import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase -import com.funkymuse.kotlinextensions.singleton.ParameterizedSingleton -import com.funkymuse.setofusefulkotlinextensions.adapter.TestModel +import dev.funkymuse.kotlinextensions.singleton.ParameterizedSingleton +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestModel @Database(entities = [TestModel::class], version = 1, exportSchema = false) abstract class TestDatabase : RoomDatabase() { diff --git a/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt new file mode 100644 index 000000000..ba83aad63 --- /dev/null +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/DetailFragment.kt @@ -0,0 +1,8 @@ +package dev.funkymuse.setofusefulkotlinextensions.nav + +import androidx.fragment.app.Fragment +import dev.funkymuse.setofusefulkotlinextensions.R + +class DetailFragment : Fragment(R.layout.fragment_test) { + +} \ No newline at end of file diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt similarity index 70% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt index a27780c38..30f4e77ca 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/MVIFragment.kt @@ -1,4 +1,4 @@ -package com.funkymuse.setofusefulkotlinextensions.nav +package dev.funkymuse.setofusefulkotlinextensions.nav import android.os.Bundle import android.view.View @@ -7,28 +7,28 @@ import android.widget.Toast.LENGTH_LONG import androidx.core.view.isVisible import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels -import com.funkymuse.common.ifTrue -import com.funkymuse.internetdetector.InternetDetector -import com.funkymuse.lifecycle.repeatingJobOnStarted -import com.funkymuse.lifecycle.viewCoroutineScope -import com.funkymuse.retrofit.throwables.isNoConnectionException -import com.funkymuse.retrofit.viewstate.event.ViewStatefulEvent -import com.funkymuse.retrofit.viewstate.event.asApiErrorBody -import com.funkymuse.retrofit.viewstate.event.getAsThrowable -import com.funkymuse.retrofit.viewstate.event.isApiError -import com.funkymuse.retrofit.viewstate.event.isError -import com.funkymuse.retrofit.viewstate.state.handleApiError -import com.funkymuse.retrofit.viewstate.state.showEmptyDataOnErrors -import com.funkymuse.retrofit.viewstate.state.showLoadingWhenDataIsLoaded -import com.funkymuse.retrofit.viewstate.state.showLoadingWhenDataNotLoaded -import com.funkymuse.setofusefulkotlinextensions.R -import com.funkymuse.setofusefulkotlinextensions.TestAVM -import com.funkymuse.setofusefulkotlinextensions.adapter.TestViewBindingAdapter -import com.funkymuse.setofusefulkotlinextensions.databinding.FragmentTestBinding -import com.funkymuse.view.setIsNotRefreshing -import com.funkymuse.view.setIsRefreshing -import com.funkymuse.view.setOnClickListenerCooldown -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.common.ifTrue +import dev.funkymuse.internetdetector.InternetDetector +import dev.funkymuse.lifecycle.repeatingJobOnStarted +import dev.funkymuse.lifecycle.viewCoroutineScope +import dev.funkymuse.retrofit.throwables.isNoConnectionException +import dev.funkymuse.retrofit.viewstate.event.ViewStatefulEvent +import dev.funkymuse.retrofit.viewstate.event.asApiErrorBody +import dev.funkymuse.retrofit.viewstate.event.getAsThrowable +import dev.funkymuse.retrofit.viewstate.event.isApiError +import dev.funkymuse.retrofit.viewstate.event.isError +import dev.funkymuse.retrofit.viewstate.state.handleApiError +import dev.funkymuse.retrofit.viewstate.state.showEmptyDataOnErrors +import dev.funkymuse.retrofit.viewstate.state.showLoadingWhenDataIsLoaded +import dev.funkymuse.retrofit.viewstate.state.showLoadingWhenDataNotLoaded +import dev.funkymuse.setofusefulkotlinextensions.R +import dev.funkymuse.setofusefulkotlinextensions.TestAVM +import dev.funkymuse.setofusefulkotlinextensions.adapter.TestViewBindingAdapter +import dev.funkymuse.setofusefulkotlinextensions.databinding.FragmentTestBinding +import dev.funkymuse.view.setIsNotRefreshing +import dev.funkymuse.view.setIsRefreshing +import dev.funkymuse.view.setOnClickListenerCooldown +import dev.funkymuse.viewbinding.viewBinding import com.google.android.material.snackbar.Snackbar import kotlinx.coroutines.launch diff --git a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt similarity index 78% rename from app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt rename to app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt index edb426625..150c94f43 100644 --- a/app/src/main/java/com/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt +++ b/app/src/main/java/dev/funkymuse/setofusefulkotlinextensions/nav/NavActivity.kt @@ -1,10 +1,10 @@ -package com.funkymuse.setofusefulkotlinextensions.nav +package dev.funkymuse.setofusefulkotlinextensions.nav import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.fragment.NavHostFragment -import com.funkymuse.setofusefulkotlinextensions.databinding.ActivityNavBinding -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.setofusefulkotlinextensions.databinding.ActivityNavBinding +import dev.funkymuse.viewbinding.viewBinding class NavActivity : AppCompatActivity() { diff --git a/app/src/main/res/layout/activity_drag_and_drop.xml b/app/src/main/res/layout/activity_drag_and_drop.xml index 725211b0f..51d8f3462 100644 --- a/app/src/main/res/layout/activity_drag_and_drop.xml +++ b/app/src/main/res/layout/activity_drag_and_drop.xml @@ -4,7 +4,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - + - - - - diff --git a/app/src/main/res/navigation/test01.xml b/app/src/main/res/navigation/test01.xml index 239762275..370f8b582 100644 --- a/app/src/main/res/navigation/test01.xml +++ b/app/src/main/res/navigation/test01.xml @@ -6,7 +6,7 @@ + android:name="dev.funkymuse.setofusefulkotlinextensions.nav.DetailFragment"/> \ No newline at end of file diff --git a/app/src/main/res/xml/file_paths.xml b/app/src/main/res/xml/file_paths.xml index c739f244d..81e2f944a 100644 --- a/app/src/main/res/xml/file_paths.xml +++ b/app/src/main/res/xml/file_paths.xml @@ -31,10 +31,10 @@ path="." /> + path="Android/data/dev.funkymuse.setofusefulkotlinextensions/files/Pictures" /> + path="Android/data/dev.funkymuse.setofusefulkotlinextensions/files/Pictures/" /> T.isNull: Boolean get() { diff --git a/common/src/main/java/com/funkymuse/common/BatteryStatusModel.kt b/common/src/main/java/dev/funkymuse/common/BatteryStatusModel.kt similarity index 95% rename from common/src/main/java/com/funkymuse/common/BatteryStatusModel.kt rename to common/src/main/java/dev/funkymuse/common/BatteryStatusModel.kt index c7208a176..9d29eb7ab 100644 --- a/common/src/main/java/com/funkymuse/common/BatteryStatusModel.kt +++ b/common/src/main/java/dev/funkymuse/common/BatteryStatusModel.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common +package dev.funkymuse.common data class BatteryStatusModel( val isCharging: Boolean, diff --git a/common/src/main/java/com/funkymuse/common/BooleanExtensions.kt b/common/src/main/java/dev/funkymuse/common/BooleanExtensions.kt similarity index 97% rename from common/src/main/java/com/funkymuse/common/BooleanExtensions.kt rename to common/src/main/java/dev/funkymuse/common/BooleanExtensions.kt index f41e7f31e..9aba7729b 100644 --- a/common/src/main/java/com/funkymuse/common/BooleanExtensions.kt +++ b/common/src/main/java/dev/funkymuse/common/BooleanExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common +package dev.funkymuse.common /** * Converts Boolean to Int, if true then 1 else 0 diff --git a/common/src/main/java/com/funkymuse/common/CommonExtensions.kt b/common/src/main/java/dev/funkymuse/common/CommonExtensions.kt similarity index 98% rename from common/src/main/java/com/funkymuse/common/CommonExtensions.kt rename to common/src/main/java/dev/funkymuse/common/CommonExtensions.kt index a397c164e..a2be21ec7 100644 --- a/common/src/main/java/com/funkymuse/common/CommonExtensions.kt +++ b/common/src/main/java/dev/funkymuse/common/CommonExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common +package dev.funkymuse.common import android.content.Context import android.net.ConnectivityManager diff --git a/common/src/main/java/com/funkymuse/common/InMemoryCache.kt b/common/src/main/java/dev/funkymuse/common/InMemoryCache.kt similarity index 97% rename from common/src/main/java/com/funkymuse/common/InMemoryCache.kt rename to common/src/main/java/dev/funkymuse/common/InMemoryCache.kt index 3f7b98524..63937bad2 100644 --- a/common/src/main/java/com/funkymuse/common/InMemoryCache.kt +++ b/common/src/main/java/dev/funkymuse/common/InMemoryCache.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common +package dev.funkymuse.common /** * Class for an InMemory Cache to keep your variables globally in heap and get them wherever you want. diff --git a/common/src/main/java/com/funkymuse/common/OtherUtils.kt b/common/src/main/java/dev/funkymuse/common/OtherUtils.kt similarity index 99% rename from common/src/main/java/com/funkymuse/common/OtherUtils.kt rename to common/src/main/java/dev/funkymuse/common/OtherUtils.kt index d9e8e28ac..312ed784c 100644 --- a/common/src/main/java/com/funkymuse/common/OtherUtils.kt +++ b/common/src/main/java/dev/funkymuse/common/OtherUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common +package dev.funkymuse.common import android.Manifest.permission.ACCESS_WIFI_STATE import android.Manifest.permission.INTERNET @@ -49,7 +49,7 @@ import androidx.annotation.ColorInt import androidx.annotation.IntRange import androidx.annotation.RequiresPermission import androidx.collection.LruCache -import com.funkymuse.common.device.DefaultUserAgent +import dev.funkymuse.common.device.DefaultUserAgent import java.io.Closeable import java.math.BigInteger import java.net.InetAddress diff --git a/common/src/main/java/com/funkymuse/common/device/DefaultUserAgent.kt b/common/src/main/java/dev/funkymuse/common/device/DefaultUserAgent.kt similarity index 98% rename from common/src/main/java/com/funkymuse/common/device/DefaultUserAgent.kt rename to common/src/main/java/dev/funkymuse/common/device/DefaultUserAgent.kt index 6b422096f..7e7aadc4b 100644 --- a/common/src/main/java/com/funkymuse/common/device/DefaultUserAgent.kt +++ b/common/src/main/java/dev/funkymuse/common/device/DefaultUserAgent.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common.device +package dev.funkymuse.common.device import android.annotation.SuppressLint import android.content.Context diff --git a/common/src/main/java/com/funkymuse/common/device/DeviceUtils.kt b/common/src/main/java/dev/funkymuse/common/device/DeviceUtils.kt similarity index 99% rename from common/src/main/java/com/funkymuse/common/device/DeviceUtils.kt rename to common/src/main/java/dev/funkymuse/common/device/DeviceUtils.kt index 7ebab9ef8..56bb37877 100644 --- a/common/src/main/java/com/funkymuse/common/device/DeviceUtils.kt +++ b/common/src/main/java/dev/funkymuse/common/device/DeviceUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common.device +package dev.funkymuse.common.device import android.annotation.SuppressLint diff --git a/common/src/main/java/com/funkymuse/common/string/CommonStringExtensions.kt b/common/src/main/java/dev/funkymuse/common/string/CommonStringExtensions.kt similarity index 81% rename from common/src/main/java/com/funkymuse/common/string/CommonStringExtensions.kt rename to common/src/main/java/dev/funkymuse/common/string/CommonStringExtensions.kt index 336c2c028..c8c4e1d24 100644 --- a/common/src/main/java/com/funkymuse/common/string/CommonStringExtensions.kt +++ b/common/src/main/java/dev/funkymuse/common/string/CommonStringExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.common.string +package dev.funkymuse.common.string import android.text.Spanned import androidx.core.text.HtmlCompat diff --git a/context/src/main/java/com/funkymuse/context/ContextDialogs.kt b/context/src/main/java/dev/funkymuse/context/ContextDialogs.kt similarity index 98% rename from context/src/main/java/com/funkymuse/context/ContextDialogs.kt rename to context/src/main/java/dev/funkymuse/context/ContextDialogs.kt index 032d12a90..743ab98b6 100644 --- a/context/src/main/java/com/funkymuse/context/ContextDialogs.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextDialogs.kt @@ -1,4 +1,4 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.content.Context import androidx.appcompat.app.AlertDialog diff --git a/context/src/main/java/com/funkymuse/context/ContextExtensions.kt b/context/src/main/java/dev/funkymuse/context/ContextExtensions.kt similarity index 98% rename from context/src/main/java/com/funkymuse/context/ContextExtensions.kt rename to context/src/main/java/dev/funkymuse/context/ContextExtensions.kt index 4ee071883..3258cef90 100644 --- a/context/src/main/java/com/funkymuse/context/ContextExtensions.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.Manifest.permission.READ_PHONE_STATE import android.annotation.SuppressLint @@ -18,8 +18,8 @@ import android.view.Gravity import android.widget.Toast import androidx.annotation.IntRange import androidx.annotation.RequiresPermission -import com.funkymuse.contextgetters.connectivityManager -import com.funkymuse.contextgetters.telephonyManager +import dev.funkymuse.contextgetters.connectivityManager +import dev.funkymuse.contextgetters.telephonyManager inline fun Context.launch() { this.startActivity(Intent(this, T::class.java)) diff --git a/context/src/main/java/com/funkymuse/context/ContextExtensions2.kt b/context/src/main/java/dev/funkymuse/context/ContextExtensions2.kt similarity index 98% rename from context/src/main/java/com/funkymuse/context/ContextExtensions2.kt rename to context/src/main/java/dev/funkymuse/context/ContextExtensions2.kt index 91ee01d5a..bc487a3a0 100644 --- a/context/src/main/java/com/funkymuse/context/ContextExtensions2.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.Manifest.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS import android.app.ActivityManager @@ -43,11 +43,11 @@ import androidx.core.app.ActivityManagerCompat import androidx.core.app.ActivityOptionsCompat import androidx.core.content.ContextCompat import androidx.core.content.FileProvider -import com.funkymuse.contextgetters.activityManager -import com.funkymuse.contextgetters.clipboardManager -import com.funkymuse.contextgetters.inputMethodManager -import com.funkymuse.contextgetters.layoutInflater -import com.funkymuse.contextgetters.powerManager +import dev.funkymuse.contextgetters.activityManager +import dev.funkymuse.contextgetters.clipboardManager +import dev.funkymuse.contextgetters.inputMethodManager +import dev.funkymuse.contextgetters.layoutInflater +import dev.funkymuse.contextgetters.powerManager import java.io.File inline fun Context.openEmail( diff --git a/context/src/main/java/com/funkymuse/context/ContextExtensions3.kt b/context/src/main/java/dev/funkymuse/context/ContextExtensions3.kt similarity index 98% rename from context/src/main/java/com/funkymuse/context/ContextExtensions3.kt rename to context/src/main/java/dev/funkymuse/context/ContextExtensions3.kt index e731e1d74..e17ecdd61 100644 --- a/context/src/main/java/com/funkymuse/context/ContextExtensions3.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextExtensions3.kt @@ -1,4 +1,4 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.Manifest import android.Manifest.permission.REBOOT @@ -28,12 +28,12 @@ import androidx.core.content.ContextCompat import androidx.core.content.res.ResourcesCompat import androidx.core.graphics.drawable.DrawableCompat import androidx.fragment.app.DialogFragment -import com.funkymuse.common.ifTrue -import com.funkymuse.common.withOpacity -import com.funkymuse.contextgetters.activityManager -import com.funkymuse.contextgetters.audioManager -import com.funkymuse.contextgetters.powerManager -import com.funkymuse.contextgetters.telephonyManager +import dev.funkymuse.common.ifTrue +import dev.funkymuse.common.withOpacity +import dev.funkymuse.contextgetters.activityManager +import dev.funkymuse.contextgetters.audioManager +import dev.funkymuse.contextgetters.powerManager +import dev.funkymuse.contextgetters.telephonyManager import java.io.BufferedReader import java.io.InputStream import java.io.InputStreamReader diff --git a/context/src/main/java/com/funkymuse/context/ContextExtensions4.kt b/context/src/main/java/dev/funkymuse/context/ContextExtensions4.kt similarity index 93% rename from context/src/main/java/com/funkymuse/context/ContextExtensions4.kt rename to context/src/main/java/dev/funkymuse/context/ContextExtensions4.kt index a2a1ff0a3..0b4d50b3e 100644 --- a/context/src/main/java/com/funkymuse/context/ContextExtensions4.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextExtensions4.kt @@ -1,4 +1,4 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.content.Context import android.content.res.Configuration @@ -12,10 +12,10 @@ import android.telephony.TelephonyManager import android.view.View import androidx.core.content.ContextCompat import androidx.fragment.app.Fragment -import com.funkymuse.contextgetters.batteryManager -import com.funkymuse.contextgetters.connectivityManager -import com.funkymuse.contextgetters.telephonyManager -import com.funkymuse.contextgetters.uiModeManager +import dev.funkymuse.contextgetters.batteryManager +import dev.funkymuse.contextgetters.connectivityManager +import dev.funkymuse.contextgetters.telephonyManager +import dev.funkymuse.contextgetters.uiModeManager import java.io.InputStream fun Fragment.dp2px(dpValue: Float): Int { diff --git a/context/src/main/java/com/funkymuse/context/ContextListeners.kt b/context/src/main/java/dev/funkymuse/context/ContextListeners.kt similarity index 90% rename from context/src/main/java/com/funkymuse/context/ContextListeners.kt rename to context/src/main/java/dev/funkymuse/context/ContextListeners.kt index 887692638..474f360da 100644 --- a/context/src/main/java/com/funkymuse/context/ContextListeners.kt +++ b/context/src/main/java/dev/funkymuse/context/ContextListeners.kt @@ -1,9 +1,9 @@ -package com.funkymuse.context +package dev.funkymuse.context import android.content.Context import android.os.Build import androidx.annotation.RequiresApi -import com.funkymuse.contextgetters.powerManager +import dev.funkymuse.contextgetters.powerManager /** * Thermal listener diff --git a/contextGetters/src/main/java/com/funkymuse/contextgetters/ContextExensionsGetters.kt b/contextGetters/src/main/java/dev/funkymuse/contextgetters/ContextExensionsGetters.kt similarity index 99% rename from contextGetters/src/main/java/com/funkymuse/contextgetters/ContextExensionsGetters.kt rename to contextGetters/src/main/java/dev/funkymuse/contextgetters/ContextExensionsGetters.kt index 6b828276f..460f604c5 100644 --- a/contextGetters/src/main/java/com/funkymuse/contextgetters/ContextExensionsGetters.kt +++ b/contextGetters/src/main/java/dev/funkymuse/contextgetters/ContextExensionsGetters.kt @@ -1,4 +1,4 @@ -package com.funkymuse.contextgetters +package dev.funkymuse.contextgetters import android.accounts.AccountManager import android.annotation.SuppressLint diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/AsyncCoroutines.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/AsyncCoroutines.kt similarity index 99% rename from coroutines/src/main/java/com/funkymuse/coroutines/AsyncCoroutines.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/AsyncCoroutines.kt index 6d0cd2265..1cf2ee725 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/AsyncCoroutines.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/AsyncCoroutines.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.viewModelScope diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/AutoDisposableJob.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/AutoDisposableJob.kt similarity index 96% rename from coroutines/src/main/java/com/funkymuse/coroutines/AutoDisposableJob.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/AutoDisposableJob.kt index f1be6a420..6d3863524 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/AutoDisposableJob.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/AutoDisposableJob.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import android.view.View diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions.kt similarity index 99% rename from coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions.kt index 913946bf7..076bf6c61 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import android.graphics.Bitmap import android.graphics.BitmapFactory diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions2.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions2.kt similarity index 95% rename from coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions2.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions2.kt index 20f23d83f..49a688040 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/CoroutineExtensions2.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/CoroutineExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import android.view.View import androidx.lifecycle.LifecycleOwner diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/ExactlyOnceEventBus.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/ExactlyOnceEventBus.kt similarity index 93% rename from coroutines/src/main/java/com/funkymuse/coroutines/ExactlyOnceEventBus.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/ExactlyOnceEventBus.kt index e6d9c8901..a95086515 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/ExactlyOnceEventBus.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/ExactlyOnceEventBus.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import kotlinx.coroutines.sync.Semaphore diff --git a/coroutines/src/main/java/com/funkymuse/coroutines/FlowExtensions.kt b/coroutines/src/main/java/dev/funkymuse/coroutines/FlowExtensions.kt similarity index 98% rename from coroutines/src/main/java/com/funkymuse/coroutines/FlowExtensions.kt rename to coroutines/src/main/java/dev/funkymuse/coroutines/FlowExtensions.kt index b3f05d60e..6f625e3ff 100644 --- a/coroutines/src/main/java/com/funkymuse/coroutines/FlowExtensions.kt +++ b/coroutines/src/main/java/dev/funkymuse/coroutines/FlowExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.coroutines +package dev.funkymuse.coroutines import android.text.Editable import android.text.TextWatcher diff --git a/customviews/src/main/java/com/funkymuse/customviews/AppRater.kt b/customviews/src/main/java/dev/funkymuse/customviews/AppRater.kt similarity index 95% rename from customviews/src/main/java/com/funkymuse/customviews/AppRater.kt rename to customviews/src/main/java/dev/funkymuse/customviews/AppRater.kt index 418fc8326..5a5190535 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/AppRater.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/AppRater.kt @@ -1,4 +1,4 @@ -package com.funkymuse.customviews +package dev.funkymuse.customviews import android.app.Dialog import android.content.Context @@ -9,11 +9,11 @@ import android.view.View import androidx.core.os.bundleOf import androidx.fragment.app.DialogFragment import androidx.fragment.app.FragmentManager -import com.funkymuse.customviews.AppRater.AppRaterModelSetup.Companion.DEFAULT_APP_TITLE -import com.funkymuse.customviews.AppRater.AppRaterModelSetup.Companion.DEFAULT_CONTENT -import com.funkymuse.setofusefulkotlinextensions.customviews.R -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.DialogAppRaterBinding -import com.funkymuse.viewbinding.viewBinding +import dev.funkymuse.customviews.AppRater.AppRaterModelSetup.Companion.DEFAULT_APP_TITLE +import dev.funkymuse.customviews.AppRater.AppRaterModelSetup.Companion.DEFAULT_CONTENT +import dev.funkymuse.setofusefulkotlinextensions.customviews.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.DialogAppRaterBinding +import dev.funkymuse.viewbinding.viewBinding /** diff --git a/customviews/src/main/java/com/funkymuse/customviews/CurvedView.kt b/customviews/src/main/java/dev/funkymuse/customviews/CurvedView.kt similarity index 98% rename from customviews/src/main/java/com/funkymuse/customviews/CurvedView.kt rename to customviews/src/main/java/dev/funkymuse/customviews/CurvedView.kt index eaf03d991..aea9b80d6 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/CurvedView.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/CurvedView.kt @@ -1,4 +1,4 @@ -package com.funkymuse.customviews +package dev.funkymuse.customviews import android.graphics.Bitmap import android.graphics.Canvas diff --git a/customviews/src/main/java/com/funkymuse/customviews/CustomKeyboardView.kt b/customviews/src/main/java/dev/funkymuse/customviews/CustomKeyboardView.kt similarity index 95% rename from customviews/src/main/java/com/funkymuse/customviews/CustomKeyboardView.kt rename to customviews/src/main/java/dev/funkymuse/customviews/CustomKeyboardView.kt index afb5767ee..7663275c2 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/CustomKeyboardView.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/CustomKeyboardView.kt @@ -1,4 +1,4 @@ -package com.funkymuse.customviews +package dev.funkymuse.customviews import android.content.Context import android.util.AttributeSet @@ -6,7 +6,7 @@ import android.view.View import android.widget.FrameLayout import android.widget.TextView import androidx.annotation.IdRes -import com.funkymuse.setofusefulkotlinextensions.customviews.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.R class CustomKeyboardView : FrameLayout, View.OnClickListener { diff --git a/customviews/src/main/java/com/funkymuse/customviews/CustomizableCardView.kt b/customviews/src/main/java/dev/funkymuse/customviews/CustomizableCardView.kt similarity index 88% rename from customviews/src/main/java/com/funkymuse/customviews/CustomizableCardView.kt rename to customviews/src/main/java/dev/funkymuse/customviews/CustomizableCardView.kt index 716fa4b15..6a0a6feef 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/CustomizableCardView.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/CustomizableCardView.kt @@ -1,10 +1,10 @@ -package com.funkymuse.customviews +package dev.funkymuse.customviews import android.content.Context import android.util.AttributeSet import androidx.annotation.Keep -import com.funkymuse.setofusefulkotlinextensions.customviews.R -import com.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding +import dev.funkymuse.setofusefulkotlinextensions.customviews.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.databinding.CustomizableCardViewBinding import com.google.android.material.card.MaterialCardView @Keep diff --git a/customviews/src/main/java/com/funkymuse/customviews/DividerView.kt b/customviews/src/main/java/dev/funkymuse/customviews/DividerView.kt similarity index 95% rename from customviews/src/main/java/com/funkymuse/customviews/DividerView.kt rename to customviews/src/main/java/dev/funkymuse/customviews/DividerView.kt index 812ffa0bf..88ed9b7de 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/DividerView.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/DividerView.kt @@ -1,4 +1,4 @@ -package com.funkymuse.customviews +package dev.funkymuse.customviews import android.content.Context import android.graphics.Canvas @@ -6,7 +6,7 @@ import android.graphics.DashPathEffect import android.graphics.Paint import android.util.AttributeSet import android.view.View -import com.funkymuse.setofusefulkotlinextensions.customviews.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.R /** diff --git a/customviews/src/main/java/com/funkymuse/customviews/mirrorView/SharedFadeTransition.kt b/customviews/src/main/java/dev/funkymuse/customviews/mirrorView/SharedFadeTransition.kt similarity index 98% rename from customviews/src/main/java/com/funkymuse/customviews/mirrorView/SharedFadeTransition.kt rename to customviews/src/main/java/dev/funkymuse/customviews/mirrorView/SharedFadeTransition.kt index fdacbfb14..914c80245 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/mirrorView/SharedFadeTransition.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/mirrorView/SharedFadeTransition.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.funkymuse.customviews.mirrorView +package dev.funkymuse.customviews.mirrorView import android.animation.Animator import android.animation.ObjectAnimator diff --git a/customviews/src/main/java/com/funkymuse/customviews/pin/PinEditText.kt b/customviews/src/main/java/dev/funkymuse/customviews/pin/PinEditText.kt similarity index 98% rename from customviews/src/main/java/com/funkymuse/customviews/pin/PinEditText.kt rename to customviews/src/main/java/dev/funkymuse/customviews/pin/PinEditText.kt index 65428e604..99206717d 100644 --- a/customviews/src/main/java/com/funkymuse/customviews/pin/PinEditText.kt +++ b/customviews/src/main/java/dev/funkymuse/customviews/pin/PinEditText.kt @@ -1,4 +1,4 @@ -package com.funkymuse.customviews.pin +package dev.funkymuse.customviews.pin import android.annotation.SuppressLint import android.content.Context @@ -14,7 +14,7 @@ import android.view.View import android.widget.TextView import androidx.appcompat.widget.AppCompatEditText import androidx.core.content.ContextCompat -import com.funkymuse.setofusefulkotlinextensions.customviews.R +import dev.funkymuse.setofusefulkotlinextensions.customviews.R class PinEditText : AppCompatEditText { @@ -188,7 +188,7 @@ class PinEditText : AppCompatEditText { /* -(var value: T) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt b/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt deleted file mode 100644 index 6c25ea1c3..000000000 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.funkymuse.datastructuresandalgorithms.graphs - -data class Vertex(val index: Int, val data: T) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt b/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt deleted file mode 100644 index 1520a08e6..000000000 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.djikstra - -import com.funkymuse.datastructuresandalgorithms.graphs.Edge - -class Visit(val type: VisitType, val edge: Edge? = null) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt b/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt deleted file mode 100644 index 4229553dd..000000000 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.djikstra - -enum class VisitType { - START, - EDGE -} \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt deleted file mode 100644 index 5e26b49f0..000000000 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.funkymuse.datastructuresandalgorithms.memoization - -fun ((T) -> R).memoize(): (T) -> R = Memoize(this) diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt b/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt deleted file mode 100644 index cba444aa3..000000000 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt +++ /dev/null @@ -1,12 +0,0 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority.comparable - -import com.funkymuse.datastructuresandalgorithms.heap.ComparableHeap -import com.funkymuse.datastructuresandalgorithms.heap.Heap -import com.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue - -class ComparablePriorityQueue> : AbstractPriorityQueue() { - override val heap: Heap = ComparableHeap() - - override val isEmpty: Boolean - get() = heap.isEmpty -} \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/Utils.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/Utils.kt similarity index 94% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/Utils.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/Utils.kt index af1d211a9..aa03987e2 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/Utils.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/Utils.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms +package dev.funkymuse.datastructuresandalgorithms -import com.funkymuse.datastructuresandalgorithms.sort.selectionSort +import dev.funkymuse.datastructuresandalgorithms.sort.selectionSort import java.util.Collections diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Edge.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Edge.kt similarity index 68% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Edge.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Edge.kt index f5c14793b..dbef554fc 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Edge.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Edge.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.graphs +package dev.funkymuse.datastructuresandalgorithms.graphs data class Edge( val source: Vertex, diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/EdgeType.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/EdgeType.kt new file mode 100644 index 000000000..433dd982d --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/EdgeType.kt @@ -0,0 +1,6 @@ +package dev.funkymuse.datastructuresandalgorithms.graphs + +enum class EdgeType { + DIRECTED, + UNDIRECTED +} \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Graph.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Graph.kt similarity index 96% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Graph.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Graph.kt index 12e7cb110..9b22322ab 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/Graph.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Graph.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.graphs +package dev.funkymuse.datastructuresandalgorithms.graphs -import com.funkymuse.datastructuresandalgorithms.queue.StackQueue -import com.funkymuse.datastructuresandalgorithms.stack.Stack +import dev.funkymuse.datastructuresandalgorithms.queue.StackQueue +import dev.funkymuse.datastructuresandalgorithms.stack.Stack interface Graph { val allVertices: ArrayList> diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/NumberOfPaths.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/NumberOfPaths.kt new file mode 100644 index 000000000..28f8e0e38 --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/NumberOfPaths.kt @@ -0,0 +1,3 @@ +package dev.funkymuse.datastructuresandalgorithms.graphs + +data class NumberOfPaths(var value: T) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt new file mode 100644 index 000000000..d0dd76855 --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/Vertex.kt @@ -0,0 +1,3 @@ +package dev.funkymuse.datastructuresandalgorithms.graphs + +data class Vertex(val index: Int, val data: T) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt similarity index 84% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt index adbe86e1d..59d59a9c1 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyList.kt @@ -1,9 +1,9 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.adjacency +package dev.funkymuse.datastructuresandalgorithms.graphs.adjacency -import com.funkymuse.datastructuresandalgorithms.graphs.Edge -import com.funkymuse.datastructuresandalgorithms.graphs.EdgeType -import com.funkymuse.datastructuresandalgorithms.graphs.Graph -import com.funkymuse.datastructuresandalgorithms.graphs.Vertex +import dev.funkymuse.datastructuresandalgorithms.graphs.Edge +import dev.funkymuse.datastructuresandalgorithms.graphs.EdgeType +import dev.funkymuse.datastructuresandalgorithms.graphs.Graph +import dev.funkymuse.datastructuresandalgorithms.graphs.Vertex class AdjacencyList : Graph { private val adjacencies: HashMap, ArrayList>> = HashMap() diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt index b7e33ba87..77e7af131 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/adjacency/AdjacencyMatrix.kt @@ -1,9 +1,9 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.adjacency +package dev.funkymuse.datastructuresandalgorithms.graphs.adjacency -import com.funkymuse.datastructuresandalgorithms.graphs.Edge -import com.funkymuse.datastructuresandalgorithms.graphs.EdgeType -import com.funkymuse.datastructuresandalgorithms.graphs.Graph -import com.funkymuse.datastructuresandalgorithms.graphs.Vertex +import dev.funkymuse.datastructuresandalgorithms.graphs.Edge +import dev.funkymuse.datastructuresandalgorithms.graphs.EdgeType +import dev.funkymuse.datastructuresandalgorithms.graphs.Graph +import dev.funkymuse.datastructuresandalgorithms.graphs.Vertex class AdjacencyMatrix : Graph { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt index fb614dbbc..ee4c43b7d 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Dijkstra.kt @@ -1,9 +1,9 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.djikstra +package dev.funkymuse.datastructuresandalgorithms.graphs.djikstra -import com.funkymuse.datastructuresandalgorithms.graphs.Edge -import com.funkymuse.datastructuresandalgorithms.graphs.Vertex -import com.funkymuse.datastructuresandalgorithms.graphs.adjacency.AdjacencyList -import com.funkymuse.datastructuresandalgorithms.queue.priority.comparator.ComparatorPriorityQueue +import dev.funkymuse.datastructuresandalgorithms.graphs.Edge +import dev.funkymuse.datastructuresandalgorithms.graphs.Vertex +import dev.funkymuse.datastructuresandalgorithms.graphs.adjacency.AdjacencyList +import dev.funkymuse.datastructuresandalgorithms.queue.priority.comparator.ComparatorPriorityQueue class Dijkstra(private val graph: AdjacencyList) { diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt new file mode 100644 index 000000000..1afbecc6a --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/Visit.kt @@ -0,0 +1,5 @@ +package dev.funkymuse.datastructuresandalgorithms.graphs.djikstra + +import dev.funkymuse.datastructuresandalgorithms.graphs.Edge + +class Visit(val type: VisitType, val edge: Edge? = null) \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt new file mode 100644 index 000000000..a4f2f9c69 --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/djikstra/VisitType.kt @@ -0,0 +1,6 @@ +package dev.funkymuse.datastructuresandalgorithms.graphs.djikstra + +enum class VisitType { + START, + EDGE +} \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt similarity index 76% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt index 173e89a5f..b95a3c6a9 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/graphs/prim/Prim.kt @@ -1,12 +1,12 @@ -package com.funkymuse.datastructuresandalgorithms.graphs.prim - -import com.funkymuse.datastructuresandalgorithms.graphs.Edge -import com.funkymuse.datastructuresandalgorithms.graphs.EdgeType -import com.funkymuse.datastructuresandalgorithms.graphs.Graph -import com.funkymuse.datastructuresandalgorithms.graphs.Vertex -import com.funkymuse.datastructuresandalgorithms.graphs.adjacency.AdjacencyList -import com.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue -import com.funkymuse.datastructuresandalgorithms.queue.priority.comparator.ComparatorPriorityQueue +package dev.funkymuse.datastructuresandalgorithms.graphs.prim + +import dev.funkymuse.datastructuresandalgorithms.graphs.Edge +import dev.funkymuse.datastructuresandalgorithms.graphs.EdgeType +import dev.funkymuse.datastructuresandalgorithms.graphs.Graph +import dev.funkymuse.datastructuresandalgorithms.graphs.Vertex +import dev.funkymuse.datastructuresandalgorithms.graphs.adjacency.AdjacencyList +import dev.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue +import dev.funkymuse.datastructuresandalgorithms.queue.priority.comparator.ComparatorPriorityQueue import kotlin.math.roundToInt object Prim { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt similarity index 98% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt index 73857d4ac..40810ec62 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/AbstractHeap.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.heap +package dev.funkymuse.datastructuresandalgorithms.heap import java.util.Collections diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Collection.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Collection.kt similarity index 78% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Collection.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Collection.kt index a432e255f..13dcba8d5 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Collection.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Collection.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.heap +package dev.funkymuse.datastructuresandalgorithms.heap interface Collection { val count: Int diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt similarity index 87% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt index 8a49ff073..ce53c2d58 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparableHeap.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.heap +package dev.funkymuse.datastructuresandalgorithms.heap class ComparableHeap> : AbstractHeap() { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt index e94f9d814..8da1826e6 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/ComparatorHeap.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.heap +package dev.funkymuse.datastructuresandalgorithms.heap class ComparatorHeap(private val comparator: Comparator) : AbstractHeap() { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Heap.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Heap.kt similarity index 74% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Heap.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Heap.kt index a5df89226..d694448ff 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/heap/Heap.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/heap/Heap.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.heap +package dev.funkymuse.datastructuresandalgorithms.heap interface Heap : Collection { fun peek(): T? diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt similarity index 93% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt index f26d45e34..559f30bfb 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Extensions.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.linkedList +package dev.funkymuse.datastructuresandalgorithms.linkedList -import com.funkymuse.datastructuresandalgorithms.stack.Stack +import dev.funkymuse.datastructuresandalgorithms.stack.Stack fun LinkedList.printInReverse() { val stack = Stack() diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt similarity index 99% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt index 3527fa2a6..747c5507d 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedList.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.linkedList +package dev.funkymuse.datastructuresandalgorithms.linkedList import java.io.Serializable diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt similarity index 92% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt index 32efb12dc..916526e2a 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/LinkedListIterator.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.linkedList +package dev.funkymuse.datastructuresandalgorithms.linkedList class LinkedListIterator(private val list: LinkedList) : Iterator, MutableIterator { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Node.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Node.kt similarity index 79% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Node.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Node.kt index f5e165773..2e2bdb737 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/linkedList/Node.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/linkedList/Node.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.linkedList +package dev.funkymuse.datastructuresandalgorithms.linkedList data class Node(var value: T, var next: Node? = null) { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt similarity index 90% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt index 2de873e70..c85fd32d9 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Fibonacci.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.mathematics +package dev.funkymuse.datastructuresandalgorithms.mathematics fun findFibonacciRecursive(n: Int, prev: Long = 1, current: Long = 1): Long { return if (n <= 2) current diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt index 24a147702..7dd6a35e7 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/GCD.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.mathematics +package dev.funkymuse.datastructuresandalgorithms.mathematics /** * The method computes the greatest common divisor of two numbers by recursively applying the Euclidean algorithm: diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt similarity index 91% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt index bcb8125b7..b0efb274b 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/LCM.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.mathematics +package dev.funkymuse.datastructuresandalgorithms.mathematics /** * The least common multiple is found out by using the principle that diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt similarity index 92% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt index c657754ae..4a2f487d5 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/PowerBigNumbers.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.mathematics +package dev.funkymuse.datastructuresandalgorithms.mathematics import java.math.BigInteger diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt similarity index 98% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt index 984e6db46..e46c5e97b 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/mathematics/Prime.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.mathematics +package dev.funkymuse.datastructuresandalgorithms.mathematics import kotlin.math.sqrt import kotlin.random.Random diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt new file mode 100644 index 000000000..d941e31df --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Extensions.kt @@ -0,0 +1,3 @@ +package dev.funkymuse.datastructuresandalgorithms.memoization + +fun ((T) -> R).memoize(): (T) -> R = Memoize(this) diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt similarity index 79% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt index 19589eef8..cae7b432f 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/memoization/Memoize.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.memoization +package dev.funkymuse.datastructuresandalgorithms.memoization class Memoize(val function: (type: T) -> R) : (T) -> R { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt similarity index 91% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt index 24aa1073a..7bafef843 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/FindIfAnyPairProducesSum.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.problems +package dev.funkymuse.datastructuresandalgorithms.problems -import com.funkymuse.datastructuresandalgorithms.search.binarySearch +import dev.funkymuse.datastructuresandalgorithms.search.binarySearch /** * Methods are assuming the sorted list. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt similarity index 94% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt index f7ed84c90..72f5bfb8a 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/GenerateWordsFromTheAlphabet.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.problems +package dev.funkymuse.datastructuresandalgorithms.problems fun generateWordsFixedLength(length: Int, alphabet: List): List { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt similarity index 90% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt index a23b05fef..44c668f7b 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/problems/StringBalance.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.problems +package dev.funkymuse.datastructuresandalgorithms.problems import java.util.Stack diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt similarity index 93% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt index 53a01b81e..c20824d2c 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/ArrayListQueue.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue class ArrayListQueue : Queue { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Extensions.kt similarity index 84% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Extensions.kt index c0050c82b..85291920c 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Extensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue import java.util.Stack diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt similarity index 89% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt index 29ef4e9f1..7e93dee5f 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/LinkedListQueue.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue -import com.funkymuse.datastructuresandalgorithms.linkedList.LinkedList +import dev.funkymuse.datastructuresandalgorithms.linkedList.LinkedList class LinkedListQueue : Queue { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Queue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Queue.kt similarity index 77% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Queue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Queue.kt index 3f3851919..314a947d1 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/Queue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/Queue.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue interface Queue { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt index e3de9d25a..d45c6f2df 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/RingBufferQueue.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue -import com.funkymuse.datastructuresandalgorithms.ringBuffer.RingBuffer +import dev.funkymuse.datastructuresandalgorithms.ringBuffer.RingBuffer class RingBufferQueue(size: Int) : Queue { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt similarity index 90% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt index 5ecb299fc..f06cbb40f 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/StackQueue.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.queue +package dev.funkymuse.datastructuresandalgorithms.queue -import com.funkymuse.datastructuresandalgorithms.stack.Stack +import dev.funkymuse.datastructuresandalgorithms.stack.Stack /** * Same complexity as Ring buffer queue diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt similarity index 64% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt index 8a86d574b..a266033ae 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueue.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority +package dev.funkymuse.datastructuresandalgorithms.queue.priority -import com.funkymuse.datastructuresandalgorithms.heap.Heap -import com.funkymuse.datastructuresandalgorithms.queue.Queue +import dev.funkymuse.datastructuresandalgorithms.heap.Heap +import dev.funkymuse.datastructuresandalgorithms.queue.Queue abstract class AbstractPriorityQueue : Queue { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt similarity index 79% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt index 1ac1723a5..8acc1ee9b 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/AbstractPriorityQueueArrayList.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority +package dev.funkymuse.datastructuresandalgorithms.queue.priority -import com.funkymuse.datastructuresandalgorithms.queue.Queue +import dev.funkymuse.datastructuresandalgorithms.queue.Queue abstract class AbstractPriorityQueueArrayList : Queue { protected val elements = ArrayList() diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt similarity index 89% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt index 73e96a400..fb17638b1 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/CustomPriorityQueueArrayList.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority +package dev.funkymuse.datastructuresandalgorithms.queue.priority class CustomPriorityQueueArrayList> : AbstractPriorityQueueArrayList() { diff --git a/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt new file mode 100644 index 000000000..c07f83053 --- /dev/null +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueue.kt @@ -0,0 +1,12 @@ +package dev.funkymuse.datastructuresandalgorithms.queue.priority.comparable + +import dev.funkymuse.datastructuresandalgorithms.heap.ComparableHeap +import dev.funkymuse.datastructuresandalgorithms.heap.Heap +import dev.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue + +class ComparablePriorityQueue> : AbstractPriorityQueue() { + override val heap: Heap = ComparableHeap() + + override val isEmpty: Boolean + get() = heap.isEmpty +} \ No newline at end of file diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt similarity index 68% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt index 0b621144c..bf8ac3c40 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparable/ComparablePriorityQueueArrayList.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority.comparable +package dev.funkymuse.datastructuresandalgorithms.queue.priority.comparable -import com.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueueArrayList +import dev.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueueArrayList class ComparablePriorityQueueArrayList> : AbstractPriorityQueueArrayList() { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt similarity index 50% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt index 12e684e5b..d5c311033 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueue.kt @@ -1,8 +1,8 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority.comparator +package dev.funkymuse.datastructuresandalgorithms.queue.priority.comparator -import com.funkymuse.datastructuresandalgorithms.heap.ComparatorHeap -import com.funkymuse.datastructuresandalgorithms.heap.Heap -import com.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue +import dev.funkymuse.datastructuresandalgorithms.heap.ComparatorHeap +import dev.funkymuse.datastructuresandalgorithms.heap.Heap +import dev.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueue class ComparatorPriorityQueue(comparator: Comparator) : AbstractPriorityQueue() { override val heap: Heap = ComparatorHeap(comparator) diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt similarity index 73% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt index 9b697bde5..3413ac63c 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/queue/priority/comparator/ComparatorPriorityQueueArrayList.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.queue.priority.comparator +package dev.funkymuse.datastructuresandalgorithms.queue.priority.comparator -import com.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueueArrayList +import dev.funkymuse.datastructuresandalgorithms.queue.priority.AbstractPriorityQueueArrayList import java.util.Collections class ComparatorPriorityQueueArrayList(private val comparator: Comparator) : diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt similarity index 95% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt index bfc8ceca7..2921c60be 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/ringBuffer/RingBuffer.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.ringBuffer +package dev.funkymuse.datastructuresandalgorithms.ringBuffer class RingBuffer(private val size: Int) { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt similarity index 95% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt index dea57c5de..0423f0e2e 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/BinarySearch.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.search +package dev.funkymuse.datastructuresandalgorithms.search /** * Binary stringSearch, assumes that the list is sorted. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/Extensions.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/Extensions.kt index 9540a1415..71c2a26d4 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/Extensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.search +package dev.funkymuse.datastructuresandalgorithms.search fun > ArrayList.findIndices( value: T diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt similarity index 89% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt index b6f1fa7f9..d2b4f0b5d 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/search/PlainSearch.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.search +package dev.funkymuse.datastructuresandalgorithms.search /** * Plain list stringSearch. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt similarity index 93% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt index 871a1db2c..09c64fde4 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BogoSort.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt similarity index 86% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt index 2e3d56f1d..74d9307e5 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/BubbleSort.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort -import com.funkymuse.datastructuresandalgorithms.swap -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swap +import dev.funkymuse.datastructuresandalgorithms.swapAt /** Worst complexity: n^2 diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt similarity index 92% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt index 083e3e4a1..14fb923fd 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/HeapSort.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort -import com.funkymuse.datastructuresandalgorithms.swap -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swap +import dev.funkymuse.datastructuresandalgorithms.swapAt diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt index 746ed063d..5eb8f3cc9 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/InsertionSort.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt index eaff687f7..6751768dc 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeInsertionSort.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt similarity index 96% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt index 3d01a5ffc..41f9ae303 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortPlain.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt index f0ceb242b..0b22de664 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/MergeSortSentinel.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort /** * Merge Sort using Sentinels - Int.MAX_VALUE entries when merging lists. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt index 3be062202..1dfab4443 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/Mergesort.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt index 3aa8342ff..b48314152 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/RadixSort.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort import kotlin.math.pow diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt similarity index 91% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt index 210b642ce..dbc12e444 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/SelectionSort.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort +package dev.funkymuse.datastructuresandalgorithms.sort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt /** * Selection sort is an inefficient* primitive sorting algorithm. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt similarity index 89% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt index 6271844b6..309213a83 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/Extensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort import java.util.Stack diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt similarity index 86% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt index c38bacd67..a21df4ae7 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuickSort.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort -import com.funkymuse.datastructuresandalgorithms.swap +import dev.funkymuse.datastructuresandalgorithms.swap diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt similarity index 90% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt index c4ef40314..e8b2bd84c 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortDutchFlag.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt /** diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt similarity index 86% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt index 1b5c9b78f..e4907ad99 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortHoare.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt /** diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt similarity index 86% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt index 088c1d8f4..2fd9ea113 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortLomuto.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt /** diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt similarity index 87% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt index d3dffbcd2..ce203bc41 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortMedian.kt @@ -1,6 +1,6 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort -import com.funkymuse.datastructuresandalgorithms.swapAt +import dev.funkymuse.datastructuresandalgorithms.swapAt fun > MutableList.quickSortMedian(low: Int, high: Int) { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt similarity index 88% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt index 501b1a9f0..bb1f8f120 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/sort/quickSort/QuicksortNaive.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.sort.quickSort +package dev.funkymuse.datastructuresandalgorithms.sort.quickSort /** * The naive partitioning creates a new list on every filter function; this is inefficient. diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Extensions.kt similarity index 86% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Extensions.kt index a8be0da01..a4aabb992 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Extensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.stack +package dev.funkymuse.datastructuresandalgorithms.stack fun stackOf(vararg elements: T) = Stack.create(elements.asList()) diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Stack.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Stack.kt similarity index 93% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Stack.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Stack.kt index cdddca99e..453ee3c6d 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/stack/Stack.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/stack/Stack.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.stack +package dev.funkymuse.datastructuresandalgorithms.stack class Stack { private val storage = arrayListOf() diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt similarity index 89% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt index d35afc486..3f4fcddbd 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/TreeNode.kt @@ -1,7 +1,7 @@ -package com.funkymuse.datastructuresandalgorithms.trees +package dev.funkymuse.datastructuresandalgorithms.trees -import com.funkymuse.datastructuresandalgorithms.queue.ArrayListQueue -import com.funkymuse.datastructuresandalgorithms.queue.LinkedListQueue +import dev.funkymuse.datastructuresandalgorithms.queue.ArrayListQueue +import dev.funkymuse.datastructuresandalgorithms.queue.LinkedListQueue typealias Visitor = (TreeNode) -> Unit diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/Utils.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/Utils.kt similarity index 75% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/Utils.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/Utils.kt index 1bc14d064..22b655568 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/Utils.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/Utils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees +package dev.funkymuse.datastructuresandalgorithms.trees import kotlin.math.pow diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt similarity index 96% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt index 5f1879a33..388a958ca 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLNode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.avl +package dev.funkymuse.datastructuresandalgorithms.trees.avl typealias Visitor = (T) -> Unit diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt similarity index 98% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt index 02dff90c6..16599564d 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/avl/AVLTree.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.avl +package dev.funkymuse.datastructuresandalgorithms.trees.avl import kotlin.math.max diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt index 0582dc961..9ffc02f02 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binary/BinaryNode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.binary +package dev.funkymuse.datastructuresandalgorithms.trees.binary import kotlin.math.max diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt index bffe980fc..aada8b766 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchNode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.binarySearchTree +package dev.funkymuse.datastructuresandalgorithms.trees.binarySearchTree typealias Visitor = (T) -> Unit diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt index e914e8491..e95ba829a 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/BinarySearchTree.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.binarySearchTree +package dev.funkymuse.datastructuresandalgorithms.trees.binarySearchTree class BinarySearchTree> { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt similarity index 91% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt index af1af0cc4..d36e26e87 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trees/binarySearchTree/TraversableBinaryNode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trees.binarySearchTree +package dev.funkymuse.datastructuresandalgorithms.trees.binarySearchTree abstract class TraversableBinaryNode, T>(var value: T) { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Extensions.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Extensions.kt similarity index 87% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Extensions.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Extensions.kt index 172c00e99..03bc833fa 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Extensions.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Extensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trie +package dev.funkymuse.datastructuresandalgorithms.trie fun Trie.insert(string: String) { insert(string.toList()) diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Trie.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Trie.kt similarity index 97% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Trie.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Trie.kt index 1a7d2c489..23d62f1f1 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/Trie.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/Trie.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trie +package dev.funkymuse.datastructuresandalgorithms.trie class Trie { diff --git a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt similarity index 74% rename from dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt rename to dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt index 6c9bbe12d..f1e922b7f 100644 --- a/dataStructuresAndAlgorithms/src/main/java/com/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt +++ b/dataStructuresAndAlgorithms/src/main/java/dev/funkymuse/datastructuresandalgorithms/trie/TrieNode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datastructuresandalgorithms.trie +package dev.funkymuse.datastructuresandalgorithms.trie class TrieNode(var key: Key?, var parent: TrieNode?) { diff --git a/dateTime/src/main/java/com/funkymuse/datetime/DateExtensions.kt b/dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions.kt similarity index 99% rename from dateTime/src/main/java/com/funkymuse/datetime/DateExtensions.kt rename to dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions.kt index 89636dbfa..9efed578d 100644 --- a/dateTime/src/main/java/com/funkymuse/datetime/DateExtensions.kt +++ b/dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datetime +package dev.funkymuse.datetime import android.content.Context import android.text.format.DateFormat diff --git a/dateTime/src/main/java/com/funkymuse/datetime/DateExtensions2.kt b/dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions2.kt similarity index 99% rename from dateTime/src/main/java/com/funkymuse/datetime/DateExtensions2.kt rename to dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions2.kt index c4ae0a1c7..641921458 100644 --- a/dateTime/src/main/java/com/funkymuse/datetime/DateExtensions2.kt +++ b/dateTime/src/main/java/dev/funkymuse/datetime/DateExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datetime +package dev.funkymuse.datetime import java.text.SimpleDateFormat import java.util.Calendar diff --git a/dateTime/src/main/java/com/funkymuse/datetime/OffsetExtensions.kt b/dateTime/src/main/java/dev/funkymuse/datetime/OffsetExtensions.kt similarity index 93% rename from dateTime/src/main/java/com/funkymuse/datetime/OffsetExtensions.kt rename to dateTime/src/main/java/dev/funkymuse/datetime/OffsetExtensions.kt index 6bc1c19ba..6b3f4dd80 100644 --- a/dateTime/src/main/java/com/funkymuse/datetime/OffsetExtensions.kt +++ b/dateTime/src/main/java/dev/funkymuse/datetime/OffsetExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datetime +package dev.funkymuse.datetime import android.os.Build import androidx.annotation.RequiresApi diff --git a/dateTime/src/main/java/com/funkymuse/datetime/TimeExtensions.kt b/dateTime/src/main/java/dev/funkymuse/datetime/TimeExtensions.kt similarity index 99% rename from dateTime/src/main/java/com/funkymuse/datetime/TimeExtensions.kt rename to dateTime/src/main/java/dev/funkymuse/datetime/TimeExtensions.kt index b4dfb1112..a143b7f93 100644 --- a/dateTime/src/main/java/com/funkymuse/datetime/TimeExtensions.kt +++ b/dateTime/src/main/java/dev/funkymuse/datetime/TimeExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datetime +package dev.funkymuse.datetime import java.text.ParseException import java.text.SimpleDateFormat diff --git a/dateTime/src/main/java/com/funkymuse/datetime/TimestampConvert.kt b/dateTime/src/main/java/dev/funkymuse/datetime/TimestampConvert.kt similarity index 99% rename from dateTime/src/main/java/com/funkymuse/datetime/TimestampConvert.kt rename to dateTime/src/main/java/dev/funkymuse/datetime/TimestampConvert.kt index 474a7a296..97282eb0d 100644 --- a/dateTime/src/main/java/com/funkymuse/datetime/TimestampConvert.kt +++ b/dateTime/src/main/java/dev/funkymuse/datetime/TimestampConvert.kt @@ -1,4 +1,4 @@ -package com.funkymuse.datetime +package dev.funkymuse.datetime diff --git a/enums/src/main/java/com/funkymuse/enums/EnumExtensions.kt b/enums/src/main/java/dev/funkymuse/enums/EnumExtensions.kt similarity index 95% rename from enums/src/main/java/com/funkymuse/enums/EnumExtensions.kt rename to enums/src/main/java/dev/funkymuse/enums/EnumExtensions.kt index 76bbaba6b..9dff4658c 100644 --- a/enums/src/main/java/com/funkymuse/enums/EnumExtensions.kt +++ b/enums/src/main/java/dev/funkymuse/enums/EnumExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.enums +package dev.funkymuse.enums diff --git a/file/src/main/java/com/funkymuse/file/FileExtensions.kt b/file/src/main/java/dev/funkymuse/file/FileExtensions.kt similarity index 99% rename from file/src/main/java/com/funkymuse/file/FileExtensions.kt rename to file/src/main/java/dev/funkymuse/file/FileExtensions.kt index 3b9905df1..a55ea6405 100644 --- a/file/src/main/java/com/funkymuse/file/FileExtensions.kt +++ b/file/src/main/java/dev/funkymuse/file/FileExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.file +package dev.funkymuse.file import android.content.ContentResolver import android.content.ContentUris @@ -13,7 +13,7 @@ import android.provider.DocumentsContract import android.provider.MediaStore import androidx.core.content.FileProvider import androidx.core.net.toFile -import com.funkymuse.common.tryOrIgnore +import dev.funkymuse.common.tryOrIgnore import java.io.ByteArrayOutputStream import java.io.File import java.io.FileInputStream diff --git a/file/src/main/java/com/funkymuse/file/FileExtensions2.kt b/file/src/main/java/dev/funkymuse/file/FileExtensions2.kt similarity index 99% rename from file/src/main/java/com/funkymuse/file/FileExtensions2.kt rename to file/src/main/java/dev/funkymuse/file/FileExtensions2.kt index 33c33eef1..9afb1e89f 100644 --- a/file/src/main/java/com/funkymuse/file/FileExtensions2.kt +++ b/file/src/main/java/dev/funkymuse/file/FileExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.file +package dev.funkymuse.file import android.content.Context import android.os.Build diff --git a/file/src/main/java/com/funkymuse/file/FileExtensions3.kt b/file/src/main/java/dev/funkymuse/file/FileExtensions3.kt similarity index 94% rename from file/src/main/java/com/funkymuse/file/FileExtensions3.kt rename to file/src/main/java/dev/funkymuse/file/FileExtensions3.kt index a5ad4beaa..28f0ce2f6 100644 --- a/file/src/main/java/com/funkymuse/file/FileExtensions3.kt +++ b/file/src/main/java/dev/funkymuse/file/FileExtensions3.kt @@ -1,4 +1,4 @@ -package com.funkymuse.file +package dev.funkymuse.file import java.io.File import java.net.URLConnection diff --git a/file/src/main/java/com/funkymuse/file/FileTypeExtensions.kt b/file/src/main/java/dev/funkymuse/file/FileTypeExtensions.kt similarity index 96% rename from file/src/main/java/com/funkymuse/file/FileTypeExtensions.kt rename to file/src/main/java/dev/funkymuse/file/FileTypeExtensions.kt index 8e28dd448..70fbc7bf4 100644 --- a/file/src/main/java/com/funkymuse/file/FileTypeExtensions.kt +++ b/file/src/main/java/dev/funkymuse/file/FileTypeExtensions.kt @@ -1,9 +1,9 @@ -package com.funkymuse.file +package dev.funkymuse.file import android.webkit.MimeTypeMap import androidx.documentfile.provider.DocumentFile -import com.funkymuse.string.containsInArray -import com.funkymuse.string.isEmptyString +import dev.funkymuse.string.containsInArray +import dev.funkymuse.string.isEmptyString import java.io.File diff --git a/file/src/main/java/com/funkymuse/file/UriExtensions.kt b/file/src/main/java/dev/funkymuse/file/UriExtensions.kt similarity index 99% rename from file/src/main/java/com/funkymuse/file/UriExtensions.kt rename to file/src/main/java/dev/funkymuse/file/UriExtensions.kt index c356efcfc..0212e6882 100644 --- a/file/src/main/java/com/funkymuse/file/UriExtensions.kt +++ b/file/src/main/java/dev/funkymuse/file/UriExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.file +package dev.funkymuse.file import android.content.ClipData import android.content.ContentResolver diff --git a/fragment/src/main/java/com/funkymuse/fragment/AutoClearedValueInFragment.kt b/fragment/src/main/java/dev/funkymuse/fragment/AutoClearedValueInFragment.kt similarity index 95% rename from fragment/src/main/java/com/funkymuse/fragment/AutoClearedValueInFragment.kt rename to fragment/src/main/java/dev/funkymuse/fragment/AutoClearedValueInFragment.kt index 31868ed61..623402609 100644 --- a/fragment/src/main/java/com/funkymuse/fragment/AutoClearedValueInFragment.kt +++ b/fragment/src/main/java/dev/funkymuse/fragment/AutoClearedValueInFragment.kt @@ -1,4 +1,4 @@ -package com.funkymuse.fragment +package dev.funkymuse.fragment import androidx.fragment.app.Fragment import kotlin.properties.ReadWriteProperty diff --git a/fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions.kt b/fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions.kt similarity index 99% rename from fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions.kt rename to fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions.kt index a4b209b74..b283bfab0 100644 --- a/fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions.kt +++ b/fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.fragment +package dev.funkymuse.fragment import android.app.AppOpsManager import android.content.Context @@ -31,8 +31,8 @@ import androidx.fragment.app.FragmentTransaction import androidx.fragment.app.commit import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.LifecycleOwner -import com.funkymuse.common.orFalse -import com.funkymuse.common.tryOrElse +import dev.funkymuse.common.orFalse +import dev.funkymuse.common.tryOrElse fun Fragment.shortToast(text: String) { diff --git a/fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions2.kt b/fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions2.kt similarity index 98% rename from fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions2.kt rename to fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions2.kt index 623bd486a..1cb47abe4 100644 --- a/fragment/src/main/java/com/funkymuse/fragment/FragmentExtensions2.kt +++ b/fragment/src/main/java/dev/funkymuse/fragment/FragmentExtensions2.kt @@ -1,4 +1,4 @@ -package com.funkymuse.fragment +package dev.funkymuse.fragment import android.app.PictureInPictureParams import android.content.Intent @@ -10,7 +10,7 @@ import androidx.annotation.RequiresApi import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentTransaction -import com.funkymuse.common.tryOrElse +import dev.funkymuse.common.tryOrElse diff --git a/fragment/src/main/java/com/funkymuse/fragment/FragmentResultExtensions.kt b/fragment/src/main/java/dev/funkymuse/fragment/FragmentResultExtensions.kt similarity index 99% rename from fragment/src/main/java/com/funkymuse/fragment/FragmentResultExtensions.kt rename to fragment/src/main/java/dev/funkymuse/fragment/FragmentResultExtensions.kt index c4ec1724a..bbb286259 100644 --- a/fragment/src/main/java/com/funkymuse/fragment/FragmentResultExtensions.kt +++ b/fragment/src/main/java/dev/funkymuse/fragment/FragmentResultExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.fragment +package dev.funkymuse.fragment import android.os.Parcelable import androidx.fragment.app.Fragment diff --git a/generators/src/main/java/com/funkymuse/generators/GeneratorUtils.kt b/generators/src/main/java/dev/funkymuse/generators/GeneratorUtils.kt similarity index 93% rename from generators/src/main/java/com/funkymuse/generators/GeneratorUtils.kt rename to generators/src/main/java/dev/funkymuse/generators/GeneratorUtils.kt index 9ba45667e..96415290c 100644 --- a/generators/src/main/java/com/funkymuse/generators/GeneratorUtils.kt +++ b/generators/src/main/java/dev/funkymuse/generators/GeneratorUtils.kt @@ -1,10 +1,10 @@ -package com.funkymuse.generators +package dev.funkymuse.generators import android.graphics.Color import android.graphics.drawable.ColorDrawable -import com.funkymuse.math.MathUtils.Companion.random -import com.funkymuse.math.MathUtils.Companion.randomBoolean +import dev.funkymuse.math.MathUtils.Companion.random +import dev.funkymuse.math.MathUtils.Companion.randomBoolean import java.text.MessageFormat.format import kotlin.math.roundToInt diff --git a/generators/src/main/java/com/funkymuse/generators/RandomXS128.kt b/generators/src/main/java/dev/funkymuse/generators/RandomXS128.kt similarity index 99% rename from generators/src/main/java/com/funkymuse/generators/RandomXS128.kt rename to generators/src/main/java/dev/funkymuse/generators/RandomXS128.kt index f81efb00a..dd5b54989 100644 --- a/generators/src/main/java/com/funkymuse/generators/RandomXS128.kt +++ b/generators/src/main/java/dev/funkymuse/generators/RandomXS128.kt @@ -1,4 +1,4 @@ -package com.funkymuse.generators +package dev.funkymuse.generators import java.util.Random diff --git a/generators/src/main/java/com/funkymuse/generators/UIDGenerator.kt b/generators/src/main/java/dev/funkymuse/generators/UIDGenerator.kt similarity index 93% rename from generators/src/main/java/com/funkymuse/generators/UIDGenerator.kt rename to generators/src/main/java/dev/funkymuse/generators/UIDGenerator.kt index ad6632643..fc063be42 100644 --- a/generators/src/main/java/com/funkymuse/generators/UIDGenerator.kt +++ b/generators/src/main/java/dev/funkymuse/generators/UIDGenerator.kt @@ -1,4 +1,4 @@ -package com.funkymuse.generators +package dev.funkymuse.generators import java.util.concurrent.atomic.AtomicInteger diff --git a/glide/src/main/java/com/funkymuse/glide/GlideExtensions.kt b/glide/src/main/java/dev/funkymuse/glide/GlideExtensions.kt similarity index 99% rename from glide/src/main/java/com/funkymuse/glide/GlideExtensions.kt rename to glide/src/main/java/dev/funkymuse/glide/GlideExtensions.kt index 40f15e185..454a95e5f 100644 --- a/glide/src/main/java/com/funkymuse/glide/GlideExtensions.kt +++ b/glide/src/main/java/dev/funkymuse/glide/GlideExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.glide +package dev.funkymuse.glide import android.content.Context import android.graphics.Bitmap diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 74b903bb0..0e293237f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -59,7 +59,7 @@ app-build-testRunner = "androidx.test.runner.AndroidJUnitRunner" app-build-kotlinJVMTarget = "17" app-build-javaVersion = "VERSION_17" #versioning -app-version-appId = "com.funkymuse.setofusefulkotlinextensions" +app-version-appId = "dev.funkymuse.setofusefulkotlinextensions" app-version-versionCode = "1" app-version-versionName = "1.0.0" diff --git a/gson/src/main/java/com/funkymuse/gson/GsonExtensions.kt b/gson/src/main/java/dev/funkymuse/gson/GsonExtensions.kt similarity index 99% rename from gson/src/main/java/com/funkymuse/gson/GsonExtensions.kt rename to gson/src/main/java/dev/funkymuse/gson/GsonExtensions.kt index c4f941116..fb25a29e0 100644 --- a/gson/src/main/java/com/funkymuse/gson/GsonExtensions.kt +++ b/gson/src/main/java/dev/funkymuse/gson/GsonExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.gson +package dev.funkymuse.gson import android.content.SharedPreferences import com.google.gson.Gson diff --git a/http/src/main/java/com/funkymuse/http/HttpExt.kt b/http/src/main/java/com/funkymuse/http/HttpExt.kt deleted file mode 100644 index bdf4cb66b..000000000 --- a/http/src/main/java/com/funkymuse/http/HttpExt.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.funkymuse.http - - diff --git a/http/src/main/java/dev/funkymuse/http/HttpExt.kt b/http/src/main/java/dev/funkymuse/http/HttpExt.kt new file mode 100644 index 000000000..6fe0dfb0e --- /dev/null +++ b/http/src/main/java/dev/funkymuse/http/HttpExt.kt @@ -0,0 +1,3 @@ +package dev.funkymuse.http + + diff --git a/http/src/main/java/com/funkymuse/http/HttpsUtils.kt b/http/src/main/java/dev/funkymuse/http/HttpsUtils.kt similarity index 99% rename from http/src/main/java/com/funkymuse/http/HttpsUtils.kt rename to http/src/main/java/dev/funkymuse/http/HttpsUtils.kt index 97db31b7e..1656d1816 100644 --- a/http/src/main/java/com/funkymuse/http/HttpsUtils.kt +++ b/http/src/main/java/dev/funkymuse/http/HttpsUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.http +package dev.funkymuse.http import java.io.IOException import java.io.InputStream diff --git a/intent/src/main/java/com/funkymuse/intent/IntentConstants.kt b/intent/src/main/java/dev/funkymuse/intent/IntentConstants.kt similarity index 94% rename from intent/src/main/java/com/funkymuse/intent/IntentConstants.kt rename to intent/src/main/java/dev/funkymuse/intent/IntentConstants.kt index e325162af..a34ec7a2f 100644 --- a/intent/src/main/java/com/funkymuse/intent/IntentConstants.kt +++ b/intent/src/main/java/dev/funkymuse/intent/IntentConstants.kt @@ -1,4 +1,4 @@ -package com.funkymuse.intent +package dev.funkymuse.intent const val INTENT_TYPE_EMAIL = "message/rfc822" const val INTENT_TYPE_TEXT = "text/plain" diff --git a/intent/src/main/java/com/funkymuse/intent/IntentExtensions.kt b/intent/src/main/java/dev/funkymuse/intent/IntentExtensions.kt similarity index 99% rename from intent/src/main/java/com/funkymuse/intent/IntentExtensions.kt rename to intent/src/main/java/dev/funkymuse/intent/IntentExtensions.kt index 05a7efb5c..b27b497b3 100644 --- a/intent/src/main/java/com/funkymuse/intent/IntentExtensions.kt +++ b/intent/src/main/java/dev/funkymuse/intent/IntentExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.intent +package dev.funkymuse.intent import android.app.Activity import android.app.PendingIntent diff --git a/intent/src/main/java/com/funkymuse/intent/IntentGetters.kt b/intent/src/main/java/dev/funkymuse/intent/IntentGetters.kt similarity index 97% rename from intent/src/main/java/com/funkymuse/intent/IntentGetters.kt rename to intent/src/main/java/dev/funkymuse/intent/IntentGetters.kt index a52579d2a..a592fa489 100644 --- a/intent/src/main/java/com/funkymuse/intent/IntentGetters.kt +++ b/intent/src/main/java/dev/funkymuse/intent/IntentGetters.kt @@ -1,4 +1,4 @@ -package com.funkymuse.intent +package dev.funkymuse.intent import android.content.Intent diff --git a/intent/src/main/java/com/funkymuse/intent/IntentPickersAndActionsExtensions.kt b/intent/src/main/java/dev/funkymuse/intent/IntentPickersAndActionsExtensions.kt similarity index 99% rename from intent/src/main/java/com/funkymuse/intent/IntentPickersAndActionsExtensions.kt rename to intent/src/main/java/dev/funkymuse/intent/IntentPickersAndActionsExtensions.kt index 2cae3b868..63410565d 100644 --- a/intent/src/main/java/com/funkymuse/intent/IntentPickersAndActionsExtensions.kt +++ b/intent/src/main/java/dev/funkymuse/intent/IntentPickersAndActionsExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.intent +package dev.funkymuse.intent import android.Manifest.permission.SET_ALARM import android.app.SearchManager @@ -19,7 +19,7 @@ import androidx.activity.result.contract.ActivityResultContracts import androidx.annotation.RequiresPermission import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity -import com.funkymuse.common.tryOrElse +import dev.funkymuse.common.tryOrElse @RequiresPermission(allOf = [SET_ALARM]) diff --git a/internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetector.kt b/internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetector.kt similarity index 98% rename from internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetector.kt rename to internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetector.kt index 29fae75d8..e6a7c6187 100644 --- a/internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetector.kt +++ b/internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetector.kt @@ -1,4 +1,4 @@ -package com.funkymuse.internetdetector +package dev.funkymuse.internetdetector import android.Manifest.permission.ACCESS_NETWORK_STATE import android.content.Context diff --git a/internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetectorExtensions.kt b/internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetectorExtensions.kt similarity index 96% rename from internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetectorExtensions.kt rename to internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetectorExtensions.kt index 02227acca..c638b4e8d 100644 --- a/internetDetector/src/main/java/com/funkymuse/internetdetector/InternetDetectorExtensions.kt +++ b/internetDetector/src/main/java/dev/funkymuse/internetdetector/InternetDetectorExtensions.kt @@ -1,11 +1,11 @@ -package com.funkymuse.internetdetector +package dev.funkymuse.internetdetector import android.content.Context import android.net.ConnectivityManager import android.net.Network import android.net.NetworkCapabilities import android.net.NetworkRequest -import com.funkymuse.common.isOnline +import dev.funkymuse.common.isOnline import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.callbackFlow import java.net.HttpURLConnection diff --git a/jodaDateTime/src/main/java/com/funkymuse/jodadatetime/DateExtensions.kt b/jodaDateTime/src/main/java/dev/funkymuse/jodadatetime/DateExtensions.kt similarity index 99% rename from jodaDateTime/src/main/java/com/funkymuse/jodadatetime/DateExtensions.kt rename to jodaDateTime/src/main/java/dev/funkymuse/jodadatetime/DateExtensions.kt index 09aa55f02..21441e7b6 100644 --- a/jodaDateTime/src/main/java/com/funkymuse/jodadatetime/DateExtensions.kt +++ b/jodaDateTime/src/main/java/dev/funkymuse/jodadatetime/DateExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.jodadatetime +package dev.funkymuse.jodadatetime import org.joda.time.DateTime import org.joda.time.DateTimeConstants diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AdaptersExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AdaptersExtensions.kt similarity index 74% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AdaptersExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AdaptersExtensions.kt index ea2b8ca10..c3c445118 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AdaptersExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AdaptersExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions +package dev.funkymuse.kotlinextensions import android.widget.ArrayAdapter diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AttrExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AttrExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AttrExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AttrExtensions.kt index ae1e317b5..1788944ae 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/AttrExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/AttrExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions +package dev.funkymuse.kotlinextensions import android.content.Context import android.graphics.Color diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/CharSequenceExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/CharSequenceExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/CharSequenceExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/CharSequenceExtensions.kt index 9f35ee3af..fd54e5ede 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/CharSequenceExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/CharSequenceExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions +package dev.funkymuse.kotlinextensions import android.graphics.Typeface import android.text.Spannable diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/WebViewExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/WebViewExtensions.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/WebViewExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/WebViewExtensions.kt index edf6fdf5f..ec03c58ca 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/WebViewExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/WebViewExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions +package dev.funkymuse.kotlinextensions import android.webkit.WebView diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/arguments/Arguments.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/arguments/Arguments.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/arguments/Arguments.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/arguments/Arguments.kt index 45cc9ce3d..748bd1ce7 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/arguments/Arguments.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/arguments/Arguments.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.arguments +package dev.funkymuse.kotlinextensions.arguments import android.app.Activity import android.os.Bundle diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt index 337770001..e6bdf6d98 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.bitmap +package dev.funkymuse.kotlinextensions.bitmap import android.annotation.SuppressLint import android.app.Activity diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt similarity index 89% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt index 857f3e27d..dff7c9a7d 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bitmap/BitmapUtils.kt @@ -1,8 +1,8 @@ -package com.funkymuse.kotlinextensions.bitmap +package dev.funkymuse.kotlinextensions.bitmap import android.graphics.Bitmap import android.graphics.Matrix -import com.funkymuse.common.tryOrIgnore +import dev.funkymuse.common.tryOrIgnore fun Bitmap.flipHorizontally(): Bitmap { diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bundle/BundleExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bundle/BundleExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bundle/BundleExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bundle/BundleExtensions.kt index b42388f12..027ffe943 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/bundle/BundleExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/bundle/BundleExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.bundle +package dev.funkymuse.kotlinextensions.bundle import android.annotation.SuppressLint import android.app.Activity @@ -10,8 +10,8 @@ import android.util.SparseArray import androidx.annotation.AnimRes import androidx.core.os.bundleOf import androidx.fragment.app.Fragment -import com.funkymuse.common.TAG -import com.funkymuse.kotlinextensions.log.log +import dev.funkymuse.common.TAG +import dev.funkymuse.kotlinextensions.log.log import java.io.Serializable import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt index 5121ea588..a24440e13 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/calendar/CalendarExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.calendar +package dev.funkymuse.kotlinextensions.calendar import android.Manifest.permission.READ_CALENDAR import android.content.ContentUris diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/CompressExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/CompressExtensions.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/CompressExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/CompressExtensions.kt index fbe885c8c..54517a86b 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/CompressExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/CompressExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.compress +package dev.funkymuse.kotlinextensions.compress import java.io.ByteArrayOutputStream import java.util.zip.Deflater diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/GzipExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/GzipExtensions.kt similarity index 94% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/GzipExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/GzipExtensions.kt index 77e60f23e..c80a6649b 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/compress/GzipExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/compress/GzipExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.compress +package dev.funkymuse.kotlinextensions.compress import java.io.ByteArrayInputStream import java.io.ByteArrayOutputStream diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt index 4aea2b168..815cf8338 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/constraints/ConstraintSetAnimator.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.constraints +package dev.funkymuse.kotlinextensions.constraints import android.view.animation.DecelerateInterpolator import androidx.constraintlayout.widget.ConstraintLayout diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt similarity index 91% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt index de9b94c71..3f2da9c67 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/contentObserver/ContentObserverExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.contentObserver +package dev.funkymuse.kotlinextensions.contentObserver import android.content.ContentResolver import android.database.ContentObserver diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/AnyExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/AnyExtensions.kt similarity index 94% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/AnyExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/AnyExtensions.kt index b070eba90..b7d5509aa 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/AnyExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/AnyExtensions.kt @@ -1,6 +1,6 @@ -package com.funkymuse.kotlinextensions.core +package dev.funkymuse.kotlinextensions.core -import com.funkymuse.common.tryOrNull +import dev.funkymuse.common.tryOrNull diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/URLExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/URLExtensions.kt similarity index 89% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/URLExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/URLExtensions.kt index 85bf109be..94b52ed10 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/core/URLExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/core/URLExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.core +package dev.funkymuse.kotlinextensions.core import java.net.HttpURLConnection import java.net.URL diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt index 10edef071..f185e5638 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimer.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.countUpTimer +package dev.funkymuse.kotlinextensions.countUpTimer import android.annotation.SuppressLint import android.os.Handler diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt similarity index 87% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt index c9b1d44d1..f4a63ce0b 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/countUpTimer/CountUpTimerCallback.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.countUpTimer +package dev.funkymuse.kotlinextensions.countUpTimer diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/CursorExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/CursorExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/CursorExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/CursorExtensions.kt index 9923b2392..98cd70582 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/CursorExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/CursorExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.cursor +package dev.funkymuse.kotlinextensions.cursor import android.database.Cursor import kotlinx.coroutines.flow.Flow diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt index 87969c281..5101a8772 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/cursor/SQLiteDBExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.cursor +package dev.funkymuse.kotlinextensions.cursor import android.database.Cursor import android.database.sqlite.SQLiteDatabase diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt similarity index 94% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt index cdbf7044d..edb714b20 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/delegates/SharedPrefsDelegates.kt @@ -1,10 +1,10 @@ -package com.funkymuse.kotlinextensions.delegates +package dev.funkymuse.kotlinextensions.delegates import android.content.SharedPreferences -import com.funkymuse.sharedpreferences.putBoolean -import com.funkymuse.sharedpreferences.putFloat -import com.funkymuse.sharedpreferences.putInt -import com.funkymuse.sharedpreferences.putString +import dev.funkymuse.sharedpreferences.putBoolean +import dev.funkymuse.sharedpreferences.putFloat +import dev.funkymuse.sharedpreferences.putInt +import dev.funkymuse.sharedpreferences.putString import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dialog/DialogExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dialog/DialogExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dialog/DialogExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dialog/DialogExtensions.kt index 2f7d545cc..01050e1a0 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dialog/DialogExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dialog/DialogExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.dialog +package dev.funkymuse.kotlinextensions.dialog import android.app.Dialog import android.content.Context @@ -10,7 +10,7 @@ import android.widget.TextView import androidx.appcompat.app.AlertDialog import androidx.core.content.ContextCompat import androidx.fragment.app.DialogFragment -import com.funkymuse.setofusefulkotlinextensions.kotlinextensions.R +import dev.funkymuse.setofusefulkotlinextensions.kotlinextensions.R fun Dialog.setCustomTitle(resId: Int, title: String) { diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt similarity index 90% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt index 4c6e7d2c6..65a6106d0 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/displayMetrics/DisplayMetricsExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.displayMetrics +package dev.funkymuse.kotlinextensions.displayMetrics import android.content.Context import android.view.View diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dsls/DSLs.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dsls/DSLs.kt similarity index 87% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dsls/DSLs.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dsls/DSLs.kt index 7affae100..5601825c2 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/dsls/DSLs.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/dsls/DSLs.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.dsls +package dev.funkymuse.kotlinextensions.dsls import android.content.BroadcastReceiver import android.content.Context diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/effects/Vibration.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/effects/Vibration.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/effects/Vibration.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/effects/Vibration.kt index a92e30a6d..a7b399fe0 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/effects/Vibration.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/effects/Vibration.kt @@ -1,6 +1,6 @@ @file:Suppress("DEPRECATION") -package com.funkymuse.kotlinextensions.effects +package dev.funkymuse.kotlinextensions.effects import android.Manifest.permission.VIBRATE import android.content.Context diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt index c74aabf16..23c216ced 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/environment/EnvironmentExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.environment +package dev.funkymuse.kotlinextensions.environment import android.os.Environment import android.os.Environment.MEDIA_MOUNTED diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/font/FontUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/font/FontUtils.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/font/FontUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/font/FontUtils.kt index 77bfec975..3b1f88a54 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/font/FontUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/font/FontUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.font +package dev.funkymuse.kotlinextensions.font import android.content.Context import android.graphics.Typeface diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt index 0603c3aa2..b55411a36 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/googleMaps/GoogleMapsExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.googleMaps +package dev.funkymuse.kotlinextensions.googleMaps import android.content.ActivityNotFoundException import android.content.Context @@ -6,7 +6,7 @@ import android.content.Intent import android.content.pm.PackageManager import android.location.Location import android.net.Uri -import com.funkymuse.intent.canBeHandled +import dev.funkymuse.intent.canBeHandled const val MAPS_URL = "com.google.android.apps.maps" const val LOC_MARKER_IN_MAPS_BY_LATLONG = "geo:0,0?q=%f,%f(%s)" diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt index 3d615eb41..d795fbfe3 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/hideData/HideDataExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.hideData +package dev.funkymuse.kotlinextensions.hideData fun hideBankCard(cardNo: String): String { return hideData(cardNo, 16, 4, 4) diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt index a98061508..550c99410 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/imagedecoder/ImageDecoderExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.imagedecoder +package dev.funkymuse.kotlinextensions.imagedecoder import android.content.ContentResolver import android.content.res.AssetManager diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt similarity index 84% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt index 0c32f0cea..582183d13 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/inputstream/InputStreamExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.inputstream +package dev.funkymuse.kotlinextensions.inputstream import java.io.InputStream import java.nio.charset.Charset diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/insets/InsetsExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/insets/InsetsExtensions.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/insets/InsetsExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/insets/InsetsExtensions.kt index 78b9b8be9..2cfc44ea7 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/insets/InsetsExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/insets/InsetsExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.insets +package dev.funkymuse.kotlinextensions.insets import android.os.Build import android.view.View diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/json/JsonExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/json/JsonExtensions.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/json/JsonExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/json/JsonExtensions.kt index 7d3dda127..e247a8df1 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/json/JsonExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/json/JsonExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.json +package dev.funkymuse.kotlinextensions.json import org.json.JSONArray import org.json.JSONObject diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationExtensions.kt index 29696d940..b78562610 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.location +package dev.funkymuse.kotlinextensions.location import android.Manifest.permission.ACCESS_COARSE_LOCATION import android.Manifest.permission.ACCESS_FINE_LOCATION diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationProvider.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationProvider.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationProvider.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationProvider.kt index 6130970c5..191ea917a 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/LocationProvider.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/LocationProvider.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.location +package dev.funkymuse.kotlinextensions.location import android.Manifest.permission.ACCESS_COARSE_LOCATION import android.Manifest.permission.ACCESS_FINE_LOCATION diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt similarity index 82% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt index 117cb711f..279c70263 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/location/ObtainedLocationModel.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.location +package dev.funkymuse.kotlinextensions.location data class ObtainedLocationModel( var address: String? = null, diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/log/LogExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/log/LogExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/log/LogExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/log/LogExtensions.kt index 030412a4d..15c74aa3e 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/log/LogExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/log/LogExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.log +package dev.funkymuse.kotlinextensions.log import android.util.Log diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt similarity index 91% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt index 642cf1429..0c8e90d7d 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/measurements/ImperialMetricUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.measurements +package dev.funkymuse.kotlinextensions.measurements import kotlin.math.roundToInt diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/memory/MemoryConversion.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/memory/MemoryConversion.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/memory/MemoryConversion.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/memory/MemoryConversion.kt index 6ecb22f7e..b7b7276f5 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/memory/MemoryConversion.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/memory/MemoryConversion.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.memory +package dev.funkymuse.kotlinextensions.memory fun getMemoryUsage(transform: (Long, Long, Long, Long, Int) -> String = { _, _, max, usage, percent -> "$usage / $max MB in use ($percent%)" }): Pair { val total = Runtime.getRuntime().totalMemory() diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/Expirable.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/Expirable.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/Expirable.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/Expirable.kt index fbc366d0f..7dcf28b08 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/Expirable.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/Expirable.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import java.util.Date import kotlin.reflect.KClass diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/KClassExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/KClassExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/KClassExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/KClassExtensions.kt index 4152e67a4..bdcda11ce 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/KClassExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/KClassExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import android.app.Activity import android.content.Context diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/LruCache.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/LruCache.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/LruCache.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/LruCache.kt index 2dbe296de..28a11ab98 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/LruCache.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/LruCache.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import android.util.LruCache diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/MiscExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/MiscExtensions.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/MiscExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/MiscExtensions.kt index b895ec4d2..f91c7aff8 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/MiscExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/MiscExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import android.Manifest.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS import android.content.Context @@ -12,7 +12,7 @@ import androidx.annotation.RawRes import androidx.annotation.RequiresPermission import androidx.appcompat.app.AppCompatDelegate import androidx.appcompat.widget.Toolbar -import com.funkymuse.kotlinextensions.power.isIgnoringBatteryOptimization +import dev.funkymuse.kotlinextensions.power.isIgnoringBatteryOptimization import java.util.Locale diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ParcelExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ParcelExtensions.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ParcelExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ParcelExtensions.kt index a7af5fc98..2c8aa02d4 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ParcelExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ParcelExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import android.os.Parcel import android.os.Parcelable diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt index a0e8811a2..c5cac4d7a 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/RunCodeEveryXLaunch.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc import android.content.Context diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/SynchronizedValue.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/SynchronizedValue.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/SynchronizedValue.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/SynchronizedValue.kt index 6523a562e..55ee2c0f1 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/SynchronizedValue.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/SynchronizedValue.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ThreadExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ThreadExtensions.kt similarity index 88% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ThreadExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ThreadExtensions.kt index 05d2137de..25842b058 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/misc/ThreadExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/misc/ThreadExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.misc +package dev.funkymuse.kotlinextensions.misc diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt similarity index 70% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt index 608511c66..15e287c87 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/motionEvent/MotionEventExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.motionEvent +package dev.funkymuse.kotlinextensions.motionEvent import android.view.MotionEvent diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt similarity index 93% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt index cb2de65ab..680bb94ac 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.notifications +package dev.funkymuse.kotlinextensions.notifications import android.content.Context import androidx.core.app.NotificationCompat diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt index 61994fdd0..77a67f011 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/notifications/NotificationsUtil.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.notifications +package dev.funkymuse.kotlinextensions.notifications import android.app.Notification import android.app.NotificationChannel diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/packageutils/PackageUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/packageutils/PackageUtils.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/packageutils/PackageUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/packageutils/PackageUtils.kt index 6f4933928..bf215bc23 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/packageutils/PackageUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/packageutils/PackageUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.packageutils +package dev.funkymuse.kotlinextensions.packageutils import android.content.ActivityNotFoundException import android.content.Context diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/palette/PaletteExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/palette/PaletteExtensions.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/palette/PaletteExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/palette/PaletteExtensions.kt index d4da85b55..c892d8354 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/palette/PaletteExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/palette/PaletteExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.palette +package dev.funkymuse.kotlinextensions.palette import android.graphics.Bitmap import androidx.palette.graphics.Palette diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/path/PathExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/path/PathExtensions.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/path/PathExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/path/PathExtensions.kt index 017d2399a..480e331da 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/path/PathExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/path/PathExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.path +package dev.funkymuse.kotlinextensions.path import android.graphics.Path diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pdf/PdfExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pdf/PdfExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pdf/PdfExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pdf/PdfExtensions.kt index 20f65efbb..32140c8d4 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pdf/PdfExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pdf/PdfExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.pdf +package dev.funkymuse.kotlinextensions.pdf import android.graphics.Bitmap import android.graphics.Canvas diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pip/PipExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pip/PipExtensions.kt similarity index 88% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pip/PipExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pip/PipExtensions.kt index f7948b120..9396cb5d9 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/pip/PipExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/pip/PipExtensions.kt @@ -1,14 +1,14 @@ @file:Suppress("DEPRECATION") -package com.funkymuse.kotlinextensions.pip +package dev.funkymuse.kotlinextensions.pip import android.app.Activity import android.app.PictureInPictureParams import android.os.Build import androidx.annotation.RequiresApi -import com.funkymuse.activity.hasPipPermission -import com.funkymuse.activity.supportsPictureInPicture -import com.funkymuse.intent.applicationDetailsIntent +import dev.funkymuse.activity.hasPipPermission +import dev.funkymuse.activity.supportsPictureInPicture +import dev.funkymuse.intent.applicationDetailsIntent diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/power/PowerExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/power/PowerExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/power/PowerExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/power/PowerExtensions.kt index ef6d132be..34dd23db5 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/power/PowerExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/power/PowerExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.power +package dev.funkymuse.kotlinextensions.power import android.content.Context import android.content.pm.PackageManager diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt index 9fe91454e..f4526a09d 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferenceDelegate.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.preferences +package dev.funkymuse.kotlinextensions.preferences import androidx.preference.Preference import androidx.preference.PreferenceFragmentCompat diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt index ec75b1b0f..3abc061e3 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/preferences/PreferencesExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.preferences +package dev.funkymuse.kotlinextensions.preferences import androidx.preference.DialogPreference import androidx.preference.Preference diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/print/PrintExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/print/PrintExtensions.kt similarity index 90% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/print/PrintExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/print/PrintExtensions.kt index 2d7411836..29d026054 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/print/PrintExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/print/PrintExtensions.kt @@ -1,9 +1,9 @@ -package com.funkymuse.kotlinextensions.print +package dev.funkymuse.kotlinextensions.print import android.content.Context import android.graphics.BitmapFactory import androidx.print.PrintHelper -import com.funkymuse.kotlinextensions.log.debug +import dev.funkymuse.kotlinextensions.log.debug fun List.printList() { this.forEachIndexed { index, t -> diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt index ebea3db20..211ab925c 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/registerReceiverChanges/ReceiverChangesUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.registerReceiverChanges +package dev.funkymuse.kotlinextensions.registerReceiverChanges import android.app.Service import android.content.BroadcastReceiver diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorFusion.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorFusion.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorFusion.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorFusion.kt index f1649378b..31370e403 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorFusion.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorFusion.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.sensors +package dev.funkymuse.kotlinextensions.sensors import android.content.Context import android.hardware.Sensor diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorRenderer.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorRenderer.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorRenderer.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorRenderer.kt index ee00e6b82..78b2a6c11 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sensors/SensorRenderer.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sensors/SensorRenderer.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.sensors +package dev.funkymuse.kotlinextensions.sensors import android.opengl.GLES20 import android.opengl.GLSurfaceView diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt similarity index 94% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt index 6451ea2cc..3f91cc04a 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingleton.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.singleton +package dev.funkymuse.kotlinextensions.singleton /* diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/social/SocialMediaExts.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/social/SocialMediaExts.kt similarity index 95% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/social/SocialMediaExts.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/social/SocialMediaExts.kt index c51e15b46..e6c4d8589 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/social/SocialMediaExts.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/social/SocialMediaExts.kt @@ -1,9 +1,9 @@ -package com.funkymuse.kotlinextensions.social +package dev.funkymuse.kotlinextensions.social import android.content.Context import android.content.Intent import android.net.Uri -import com.funkymuse.intent.intentCanBeHandled +import dev.funkymuse.intent.intentCanBeHandled /** * @param pageId Facebook page id diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sound/SoundExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sound/SoundExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sound/SoundExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sound/SoundExtensions.kt index 57a2be982..8f7d0ceb8 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/sound/SoundExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/sound/SoundExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.sound +package dev.funkymuse.kotlinextensions.sound import android.Manifest.permission.ACCESS_NOTIFICATION_POLICY import android.Manifest.permission.MODIFY_AUDIO_SETTINGS diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/storage/StorageExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/storage/StorageExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/storage/StorageExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/storage/StorageExtensions.kt index d80346227..4d4bfff9f 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/storage/StorageExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/storage/StorageExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.storage +package dev.funkymuse.kotlinextensions.storage import android.app.Activity import android.content.ContentResolver @@ -14,12 +14,12 @@ import android.provider.DocumentsContract import android.provider.MediaStore import android.provider.OpenableColumns import androidx.annotation.RequiresApi -import com.funkymuse.common.device.DeviceUtils -import com.funkymuse.intent.INTENT_TYPE_DOCUMENT -import com.funkymuse.intent.INTENT_TYPE_IMGs -import com.funkymuse.intent.INTENT_TYPE_PDF -import com.funkymuse.intent.INTENT_TYPE_VIDEO -import com.funkymuse.kotlinextensions.cursor.getStringOrNull +import dev.funkymuse.common.device.DeviceUtils +import dev.funkymuse.intent.INTENT_TYPE_DOCUMENT +import dev.funkymuse.intent.INTENT_TYPE_IMGs +import dev.funkymuse.intent.INTENT_TYPE_PDF +import dev.funkymuse.intent.INTENT_TYPE_VIDEO +import dev.funkymuse.kotlinextensions.cursor.getStringOrNull import java.io.* /** diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt index 4e9c703ac..ec3599037 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/tools/ToolsAndUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.tools +package dev.funkymuse.kotlinextensions.tools import kotlin.reflect.KClass diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/uri/UriExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/uri/UriExtensions.kt similarity index 92% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/uri/UriExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/uri/UriExtensions.kt index 6e93a8b95..87879b14f 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/uri/UriExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/uri/UriExtensions.kt @@ -1,11 +1,11 @@ -package com.funkymuse.kotlinextensions.uri +package dev.funkymuse.kotlinextensions.uri import android.content.ContentResolver import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import android.net.Uri -import com.funkymuse.common.closeQuietly +import dev.funkymuse.common.closeQuietly diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/version/VersionExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/version/VersionExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/version/VersionExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/version/VersionExtensions.kt index bbb580c48..23c834532 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/version/VersionExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/version/VersionExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.version +package dev.funkymuse.kotlinextensions.version import android.content.Context import android.os.Build diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt similarity index 81% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt index 3513de7df..28ec388f4 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/viewmodel/ViewModelExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.viewmodel +package dev.funkymuse.kotlinextensions.viewmodel import android.content.Context import androidx.lifecycle.AndroidViewModel diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt index 6c8804de1..94e67667e 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/BottomSheetExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.view.View import com.google.android.material.bottomsheet.BottomSheetBehavior diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ButtonExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ButtonExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ButtonExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ButtonExtensions.kt index c2c833cfe..47a253477 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ButtonExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ButtonExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.graphics.drawable.Drawable import android.view.View diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt similarity index 96% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt index cbb9fae6c..5bbbbf19c 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/CompoundButtonExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.widget.CompoundButton diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/DrawableExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/DrawableExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/DrawableExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/DrawableExtensions.kt index 013df2a13..333829a0c 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/DrawableExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/DrawableExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.content.Context import android.content.res.ColorStateList @@ -15,7 +15,7 @@ import android.os.Handler import android.os.Looper import androidx.annotation.ColorInt import androidx.core.graphics.drawable.DrawableCompat -import com.funkymuse.color.adjustAlpha +import dev.funkymuse.color.adjustAlpha /** * Converts a Bitmap to a Drawable diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/EditTextExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/EditTextExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/EditTextExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/EditTextExtensions.kt index 394566e60..5729f5811 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/EditTextExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/EditTextExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.annotation.SuppressLint import android.content.ClipboardManager @@ -24,9 +24,9 @@ import android.widget.TextView import androidx.core.content.ContextCompat import androidx.core.content.getSystemService import androidx.core.graphics.drawable.DrawableCompat -import com.funkymuse.common.isKeyboardSubmit -import com.funkymuse.kotlinextensions.insets.hideKeyboard -import com.funkymuse.kotlinextensions.insets.showKeyboard +import dev.funkymuse.common.isKeyboardSubmit +import dev.funkymuse.kotlinextensions.insets.hideKeyboard +import dev.funkymuse.kotlinextensions.insets.showKeyboard import com.google.android.material.textfield.TextInputEditText import java.net.MalformedURLException import java.net.URL diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/FlingGestureHandler.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/FlingGestureHandler.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/FlingGestureHandler.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/FlingGestureHandler.kt index 5dbfed91c..3052086d7 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/FlingGestureHandler.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/FlingGestureHandler.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.app.Activity import android.view.GestureDetector diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ImageViewExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ImageViewExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ImageViewExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ImageViewExtensions.kt index a5c14f662..774d87fbd 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/ImageViewExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/ImageViewExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.app.WallpaperManager import android.content.res.ColorStateList diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/MenuExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/MenuExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/MenuExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/MenuExtensions.kt index 23af70f7b..7bc8cf7c5 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/MenuExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/MenuExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.annotation.SuppressLint import android.app.Activity diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt index 1b83b4fc2..c2dcfcac2 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/OnSwipeTouchListener.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.content.Context import android.view.GestureDetector diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SnackbarExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SnackbarExtensions.kt similarity index 98% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SnackbarExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SnackbarExtensions.kt index d2cdf1086..5a2edae4b 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SnackbarExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SnackbarExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.view.View import android.widget.TextView diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpanExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpanExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpanExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpanExtensions.kt index 8cd559b26..e22d29eec 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpanExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpanExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.graphics.Color import android.graphics.Typeface diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpinnerExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpinnerExtensions.kt similarity index 97% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpinnerExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpinnerExtensions.kt index d176ce8cd..197c3903d 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/SpinnerExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/SpinnerExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.view.View import android.widget.AdapterView diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/TextViewExtensions.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/TextViewExtensions.kt similarity index 99% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/TextViewExtensions.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/TextViewExtensions.kt index 62f69eb4a..4869d1e4b 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/views/TextViewExtensions.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/views/TextViewExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.views +package dev.funkymuse.kotlinextensions.views import android.animation.ObjectAnimator import android.animation.ValueAnimator diff --git a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt similarity index 93% rename from kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt rename to kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt index d87de8841..2dda2c7bf 100644 --- a/kotlinextensions/src/main/java/com/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt +++ b/kotlinextensions/src/main/java/dev/funkymuse/kotlinextensions/wakelock/WakeLockExts.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.wakelock +package dev.funkymuse.kotlinextensions.wakelock import android.Manifest.permission.WAKE_LOCK import android.content.Context diff --git a/kotlinextensions/src/test/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt b/kotlinextensions/src/test/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt similarity index 91% rename from kotlinextensions/src/test/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt rename to kotlinextensions/src/test/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt index 4bf2d0918..1bb2a7fe4 100644 --- a/kotlinextensions/src/test/java/com/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt +++ b/kotlinextensions/src/test/java/dev/funkymuse/kotlinextensions/singleton/ParameterizedSingletonTest.kt @@ -1,4 +1,4 @@ -package com.funkymuse.kotlinextensions.singleton +package dev.funkymuse.kotlinextensions.singleton import org.junit.Assert.assertEquals import org.junit.Before diff --git a/lifecycle/src/main/java/com/funkymuse/lifecycle/AppLifeCycleObserver.kt b/lifecycle/src/main/java/dev/funkymuse/lifecycle/AppLifeCycleObserver.kt similarity index 96% rename from lifecycle/src/main/java/com/funkymuse/lifecycle/AppLifeCycleObserver.kt rename to lifecycle/src/main/java/dev/funkymuse/lifecycle/AppLifeCycleObserver.kt index bd1bb619c..8877e6b43 100644 --- a/lifecycle/src/main/java/com/funkymuse/lifecycle/AppLifeCycleObserver.kt +++ b/lifecycle/src/main/java/dev/funkymuse/lifecycle/AppLifeCycleObserver.kt @@ -1,4 +1,4 @@ -package com.funkymuse.lifecycle +package dev.funkymuse.lifecycle import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver diff --git a/lifecycle/src/main/java/com/funkymuse/lifecycle/LifeCycleCallBacks.kt b/lifecycle/src/main/java/dev/funkymuse/lifecycle/LifeCycleCallBacks.kt similarity index 73% rename from lifecycle/src/main/java/com/funkymuse/lifecycle/LifeCycleCallBacks.kt rename to lifecycle/src/main/java/dev/funkymuse/lifecycle/LifeCycleCallBacks.kt index 2abab8638..701d982a4 100644 --- a/lifecycle/src/main/java/com/funkymuse/lifecycle/LifeCycleCallBacks.kt +++ b/lifecycle/src/main/java/dev/funkymuse/lifecycle/LifeCycleCallBacks.kt @@ -1,4 +1,4 @@ -package com.funkymuse.lifecycle +package dev.funkymuse.lifecycle diff --git a/lifecycle/src/main/java/com/funkymuse/lifecycle/LifecycleExtensions.kt b/lifecycle/src/main/java/dev/funkymuse/lifecycle/LifecycleExtensions.kt similarity index 98% rename from lifecycle/src/main/java/com/funkymuse/lifecycle/LifecycleExtensions.kt rename to lifecycle/src/main/java/dev/funkymuse/lifecycle/LifecycleExtensions.kt index c8d44b47c..53e7f965e 100644 --- a/lifecycle/src/main/java/com/funkymuse/lifecycle/LifecycleExtensions.kt +++ b/lifecycle/src/main/java/dev/funkymuse/lifecycle/LifecycleExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.lifecycle +package dev.funkymuse.lifecycle import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment diff --git a/livedata/src/main/java/com/funkymuse/livedata/EventObserver.kt b/livedata/src/main/java/dev/funkymuse/livedata/EventObserver.kt similarity index 94% rename from livedata/src/main/java/com/funkymuse/livedata/EventObserver.kt rename to livedata/src/main/java/dev/funkymuse/livedata/EventObserver.kt index 3ba658b91..bfe5449b4 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/EventObserver.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/EventObserver.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.Observer diff --git a/livedata/src/main/java/com/funkymuse/livedata/LiveDataExtensions.kt b/livedata/src/main/java/dev/funkymuse/livedata/LiveDataExtensions.kt similarity index 99% rename from livedata/src/main/java/com/funkymuse/livedata/LiveDataExtensions.kt rename to livedata/src/main/java/dev/funkymuse/livedata/LiveDataExtensions.kt index 9239d6be1..9f9249a61 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/LiveDataExtensions.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/LiveDataExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData diff --git a/livedata/src/main/java/com/funkymuse/livedata/LiveDataGetAsValues.kt b/livedata/src/main/java/dev/funkymuse/livedata/LiveDataGetAsValues.kt similarity index 98% rename from livedata/src/main/java/com/funkymuse/livedata/LiveDataGetAsValues.kt rename to livedata/src/main/java/dev/funkymuse/livedata/LiveDataGetAsValues.kt index 2f2089bb6..0abcd4b8a 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/LiveDataGetAsValues.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/LiveDataGetAsValues.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData diff --git a/livedata/src/main/java/com/funkymuse/livedata/NonNullLiveData.kt b/livedata/src/main/java/dev/funkymuse/livedata/NonNullLiveData.kt similarity index 95% rename from livedata/src/main/java/com/funkymuse/livedata/NonNullLiveData.kt rename to livedata/src/main/java/dev/funkymuse/livedata/NonNullLiveData.kt index 05cb208a8..f97429023 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/NonNullLiveData.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/NonNullLiveData.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData diff --git a/livedata/src/main/java/com/funkymuse/livedata/SingleEvent.kt b/livedata/src/main/java/dev/funkymuse/livedata/SingleEvent.kt similarity index 97% rename from livedata/src/main/java/com/funkymuse/livedata/SingleEvent.kt rename to livedata/src/main/java/dev/funkymuse/livedata/SingleEvent.kt index 89e1720a7..215f4f0dd 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/SingleEvent.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/SingleEvent.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata //https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150 diff --git a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveData.kt b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveData.kt similarity index 95% rename from livedata/src/main/java/com/funkymuse/livedata/SingleLiveData.kt rename to livedata/src/main/java/dev/funkymuse/livedata/SingleLiveData.kt index c044de77c..57e9bd5cd 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveData.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveData.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData diff --git a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveDataConcat.kt b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveDataConcat.kt similarity index 97% rename from livedata/src/main/java/com/funkymuse/livedata/SingleLiveDataConcat.kt rename to livedata/src/main/java/dev/funkymuse/livedata/SingleLiveDataConcat.kt index 474d8693e..1a93b06e4 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveDataConcat.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveDataConcat.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.lifecycle.MediatorLiveData diff --git a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveEvent.kt b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveEvent.kt similarity index 98% rename from livedata/src/main/java/com/funkymuse/livedata/SingleLiveEvent.kt rename to livedata/src/main/java/dev/funkymuse/livedata/SingleLiveEvent.kt index b8871237b..b538b3a95 100644 --- a/livedata/src/main/java/com/funkymuse/livedata/SingleLiveEvent.kt +++ b/livedata/src/main/java/dev/funkymuse/livedata/SingleLiveEvent.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import android.util.Log import androidx.annotation.MainThread diff --git a/livedata/src/test/java/com/funkymuse/livedata/LiveDataTestUtils.kt b/livedata/src/test/java/dev/funkymuse/livedata/LiveDataTestUtils.kt similarity index 97% rename from livedata/src/test/java/com/funkymuse/livedata/LiveDataTestUtils.kt rename to livedata/src/test/java/dev/funkymuse/livedata/LiveDataTestUtils.kt index 07e349214..743414154 100644 --- a/livedata/src/test/java/com/funkymuse/livedata/LiveDataTestUtils.kt +++ b/livedata/src/test/java/dev/funkymuse/livedata/LiveDataTestUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.livedata +package dev.funkymuse.livedata import androidx.annotation.VisibleForTesting import androidx.lifecycle.LiveData diff --git a/locale/src/main/java/com/funkymuse/locale/CountryCode.kt b/locale/src/main/java/dev/funkymuse/locale/CountryCode.kt similarity index 96% rename from locale/src/main/java/com/funkymuse/locale/CountryCode.kt rename to locale/src/main/java/dev/funkymuse/locale/CountryCode.kt index 9ba0b7ff7..dd495a748 100644 --- a/locale/src/main/java/com/funkymuse/locale/CountryCode.kt +++ b/locale/src/main/java/dev/funkymuse/locale/CountryCode.kt @@ -1,4 +1,4 @@ -package com.funkymuse.locale +package dev.funkymuse.locale diff --git a/locale/src/main/java/com/funkymuse/locale/LocaleExtensions.kt b/locale/src/main/java/dev/funkymuse/locale/LocaleExtensions.kt similarity index 97% rename from locale/src/main/java/com/funkymuse/locale/LocaleExtensions.kt rename to locale/src/main/java/dev/funkymuse/locale/LocaleExtensions.kt index 21d793111..ed4fb66dc 100644 --- a/locale/src/main/java/com/funkymuse/locale/LocaleExtensions.kt +++ b/locale/src/main/java/dev/funkymuse/locale/LocaleExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.locale +package dev.funkymuse.locale import android.content.Context import android.content.res.Configuration diff --git a/locale/src/main/java/com/funkymuse/locale/LocaleHelper.kt b/locale/src/main/java/dev/funkymuse/locale/LocaleHelper.kt similarity index 99% rename from locale/src/main/java/com/funkymuse/locale/LocaleHelper.kt rename to locale/src/main/java/dev/funkymuse/locale/LocaleHelper.kt index 131cc1806..8f7c7fe30 100644 --- a/locale/src/main/java/com/funkymuse/locale/LocaleHelper.kt +++ b/locale/src/main/java/dev/funkymuse/locale/LocaleHelper.kt @@ -1,4 +1,4 @@ -package com.funkymuse.locale +package dev.funkymuse.locale import android.annotation.TargetApi import android.content.Context diff --git a/math/src/main/java/com/funkymuse/math/MathExtensions.kt b/math/src/main/java/dev/funkymuse/math/MathExtensions.kt similarity index 99% rename from math/src/main/java/com/funkymuse/math/MathExtensions.kt rename to math/src/main/java/dev/funkymuse/math/MathExtensions.kt index ba36edafc..583e9664b 100644 --- a/math/src/main/java/com/funkymuse/math/MathExtensions.kt +++ b/math/src/main/java/dev/funkymuse/math/MathExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.math +package dev.funkymuse.math import android.content.Context import java.math.BigDecimal diff --git a/math/src/main/java/com/funkymuse/math/MathUtils.kt b/math/src/main/java/dev/funkymuse/math/MathUtils.kt similarity index 99% rename from math/src/main/java/com/funkymuse/math/MathUtils.kt rename to math/src/main/java/dev/funkymuse/math/MathUtils.kt index 829bdf8e2..a231e0c2d 100644 --- a/math/src/main/java/com/funkymuse/math/MathUtils.kt +++ b/math/src/main/java/dev/funkymuse/math/MathUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.math +package dev.funkymuse.math import android.content.res.Resources import java.util.* diff --git a/moshi/src/main/java/com/funkymuse/moshi/MoshiExtensions.kt b/moshi/src/main/java/dev/funkymuse/moshi/MoshiExtensions.kt similarity index 99% rename from moshi/src/main/java/com/funkymuse/moshi/MoshiExtensions.kt rename to moshi/src/main/java/dev/funkymuse/moshi/MoshiExtensions.kt index c30e31514..d7e08af6c 100644 --- a/moshi/src/main/java/com/funkymuse/moshi/MoshiExtensions.kt +++ b/moshi/src/main/java/dev/funkymuse/moshi/MoshiExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.moshi +package dev.funkymuse.moshi import android.content.SharedPreferences import com.squareup.moshi.JsonAdapter diff --git a/networking/src/main/java/com/funkymuse/networking/NetworkUtils.kt b/networking/src/main/java/dev/funkymuse/networking/NetworkUtils.kt similarity index 95% rename from networking/src/main/java/com/funkymuse/networking/NetworkUtils.kt rename to networking/src/main/java/dev/funkymuse/networking/NetworkUtils.kt index 967591987..7b31ea5f0 100644 --- a/networking/src/main/java/com/funkymuse/networking/NetworkUtils.kt +++ b/networking/src/main/java/dev/funkymuse/networking/NetworkUtils.kt @@ -1,11 +1,11 @@ -package com.funkymuse.networking +package dev.funkymuse.networking import android.content.Context import android.net.wifi.WifiManager import android.telephony.PhoneStateListener import android.telephony.ServiceState import android.telephony.TelephonyManager -import com.funkymuse.common.tryOrNull +import dev.funkymuse.common.tryOrNull import java.net.InetAddress import java.net.UnknownHostException diff --git a/networking/src/main/java/com/funkymuse/networking/SSLUtils.kt b/networking/src/main/java/dev/funkymuse/networking/SSLUtils.kt similarity index 98% rename from networking/src/main/java/com/funkymuse/networking/SSLUtils.kt rename to networking/src/main/java/dev/funkymuse/networking/SSLUtils.kt index 197095f15..c824bae2b 100644 --- a/networking/src/main/java/com/funkymuse/networking/SSLUtils.kt +++ b/networking/src/main/java/dev/funkymuse/networking/SSLUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.networking +package dev.funkymuse.networking import android.annotation.SuppressLint import android.content.Context diff --git a/numbers/src/main/java/com/funkymuse/numbers/FiatSymbols.kt b/numbers/src/main/java/dev/funkymuse/numbers/FiatSymbols.kt similarity index 98% rename from numbers/src/main/java/com/funkymuse/numbers/FiatSymbols.kt rename to numbers/src/main/java/dev/funkymuse/numbers/FiatSymbols.kt index 458adba93..f11dbfe03 100644 --- a/numbers/src/main/java/com/funkymuse/numbers/FiatSymbols.kt +++ b/numbers/src/main/java/dev/funkymuse/numbers/FiatSymbols.kt @@ -1,4 +1,4 @@ -package com.funkymuse.numbers +package dev.funkymuse.numbers import android.util.ArrayMap diff --git a/numbers/src/main/java/com/funkymuse/numbers/NumberFormatter.kt b/numbers/src/main/java/dev/funkymuse/numbers/NumberFormatter.kt similarity index 87% rename from numbers/src/main/java/com/funkymuse/numbers/NumberFormatter.kt rename to numbers/src/main/java/dev/funkymuse/numbers/NumberFormatter.kt index d5d2c77ef..b63b65011 100644 --- a/numbers/src/main/java/com/funkymuse/numbers/NumberFormatter.kt +++ b/numbers/src/main/java/dev/funkymuse/numbers/NumberFormatter.kt @@ -1,4 +1,4 @@ -package com.funkymuse.numbers +package dev.funkymuse.numbers import java.text.DecimalFormat import java.text.NumberFormat diff --git a/numbers/src/main/java/com/funkymuse/numbers/Numberextensions.kt b/numbers/src/main/java/dev/funkymuse/numbers/Numberextensions.kt similarity index 99% rename from numbers/src/main/java/com/funkymuse/numbers/Numberextensions.kt rename to numbers/src/main/java/dev/funkymuse/numbers/Numberextensions.kt index a4a199365..062339ebd 100644 --- a/numbers/src/main/java/com/funkymuse/numbers/Numberextensions.kt +++ b/numbers/src/main/java/dev/funkymuse/numbers/Numberextensions.kt @@ -1,13 +1,13 @@ -package com.funkymuse.numbers +package dev.funkymuse.numbers import android.content.Context import android.os.Build import androidx.annotation.DimenRes import androidx.annotation.IntRange import androidx.annotation.RequiresApi -import com.funkymuse.bytearray.byteArray -import com.funkymuse.bytearray.xorAll -import com.funkymuse.math.log +import dev.funkymuse.bytearray.byteArray +import dev.funkymuse.bytearray.xorAll +import dev.funkymuse.math.log import java.lang.Double.doubleToRawLongBits import java.lang.Double.longBitsToDouble import java.lang.Float.floatToRawIntBits diff --git a/permissions/src/main/java/com/funkymuse/permissions/AccessibilityContract.kt b/permissions/src/main/java/dev/funkymuse/permissions/AccessibilityContract.kt similarity index 92% rename from permissions/src/main/java/com/funkymuse/permissions/AccessibilityContract.kt rename to permissions/src/main/java/dev/funkymuse/permissions/AccessibilityContract.kt index 060e34819..f9ece2202 100644 --- a/permissions/src/main/java/com/funkymuse/permissions/AccessibilityContract.kt +++ b/permissions/src/main/java/dev/funkymuse/permissions/AccessibilityContract.kt @@ -1,4 +1,4 @@ -package com.funkymuse.permissions +package dev.funkymuse.permissions import android.content.Context import android.content.Intent diff --git a/permissions/src/main/java/com/funkymuse/permissions/CreateVideoContract.kt b/permissions/src/main/java/dev/funkymuse/permissions/CreateVideoContract.kt similarity index 97% rename from permissions/src/main/java/com/funkymuse/permissions/CreateVideoContract.kt rename to permissions/src/main/java/dev/funkymuse/permissions/CreateVideoContract.kt index 39f9dab37..5710db421 100644 --- a/permissions/src/main/java/com/funkymuse/permissions/CreateVideoContract.kt +++ b/permissions/src/main/java/dev/funkymuse/permissions/CreateVideoContract.kt @@ -1,4 +1,4 @@ -package com.funkymuse.permissions +package dev.funkymuse.permissions import android.app.Activity import android.content.Context diff --git a/permissions/src/main/java/com/funkymuse/permissions/LocationSettingsContract.kt b/permissions/src/main/java/dev/funkymuse/permissions/LocationSettingsContract.kt similarity index 95% rename from permissions/src/main/java/com/funkymuse/permissions/LocationSettingsContract.kt rename to permissions/src/main/java/dev/funkymuse/permissions/LocationSettingsContract.kt index 0065a05a5..1773e221b 100644 --- a/permissions/src/main/java/com/funkymuse/permissions/LocationSettingsContract.kt +++ b/permissions/src/main/java/dev/funkymuse/permissions/LocationSettingsContract.kt @@ -1,4 +1,4 @@ -package com.funkymuse.permissions +package dev.funkymuse.permissions import android.content.Context import android.content.Intent diff --git a/permissions/src/main/java/com/funkymuse/permissions/PermissionExtensions.kt b/permissions/src/main/java/dev/funkymuse/permissions/PermissionExtensions.kt similarity index 99% rename from permissions/src/main/java/com/funkymuse/permissions/PermissionExtensions.kt rename to permissions/src/main/java/dev/funkymuse/permissions/PermissionExtensions.kt index d22bc2689..210b5cd03 100644 --- a/permissions/src/main/java/com/funkymuse/permissions/PermissionExtensions.kt +++ b/permissions/src/main/java/dev/funkymuse/permissions/PermissionExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.permissions +package dev.funkymuse.permissions import android.Manifest.permission.ACCESS_BACKGROUND_LOCATION import android.Manifest.permission.ACCESS_COARSE_LOCATION diff --git a/permissions/src/main/java/com/funkymuse/permissions/ProtectedPermissions.kt b/permissions/src/main/java/dev/funkymuse/permissions/ProtectedPermissions.kt similarity index 96% rename from permissions/src/main/java/com/funkymuse/permissions/ProtectedPermissions.kt rename to permissions/src/main/java/dev/funkymuse/permissions/ProtectedPermissions.kt index 85d879f68..1e790f5ab 100644 --- a/permissions/src/main/java/com/funkymuse/permissions/ProtectedPermissions.kt +++ b/permissions/src/main/java/dev/funkymuse/permissions/ProtectedPermissions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.permissions +package dev.funkymuse.permissions import android.Manifest import android.app.AppOpsManager diff --git a/photos/src/main/java/com/funkymuse/photos/DecodeColorOnTouch.kt b/photos/src/main/java/dev/funkymuse/photos/DecodeColorOnTouch.kt similarity index 98% rename from photos/src/main/java/com/funkymuse/photos/DecodeColorOnTouch.kt rename to photos/src/main/java/dev/funkymuse/photos/DecodeColorOnTouch.kt index f6efa06f4..0aec6a621 100644 --- a/photos/src/main/java/com/funkymuse/photos/DecodeColorOnTouch.kt +++ b/photos/src/main/java/dev/funkymuse/photos/DecodeColorOnTouch.kt @@ -1,4 +1,4 @@ -package com.funkymuse.photos +package dev.funkymuse.photos import android.graphics.Bitmap import android.graphics.BitmapFactory diff --git a/photos/src/main/java/com/funkymuse/photos/ImageUtils.kt b/photos/src/main/java/dev/funkymuse/photos/ImageUtils.kt similarity index 99% rename from photos/src/main/java/com/funkymuse/photos/ImageUtils.kt rename to photos/src/main/java/dev/funkymuse/photos/ImageUtils.kt index 00ff28ed3..61cb552bb 100644 --- a/photos/src/main/java/com/funkymuse/photos/ImageUtils.kt +++ b/photos/src/main/java/dev/funkymuse/photos/ImageUtils.kt @@ -1,4 +1,4 @@ -package com.funkymuse.photos +package dev.funkymuse.photos import android.Manifest.permission.CAMERA import android.annotation.SuppressLint diff --git a/photos/src/main/java/com/funkymuse/photos/PhotosExtensions.kt b/photos/src/main/java/dev/funkymuse/photos/PhotosExtensions.kt similarity index 98% rename from photos/src/main/java/com/funkymuse/photos/PhotosExtensions.kt rename to photos/src/main/java/dev/funkymuse/photos/PhotosExtensions.kt index d4fbb11e5..d7e06a72c 100644 --- a/photos/src/main/java/com/funkymuse/photos/PhotosExtensions.kt +++ b/photos/src/main/java/dev/funkymuse/photos/PhotosExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.photos +package dev.funkymuse.photos import android.content.Context import android.graphics.BitmapFactory diff --git a/receivers/src/main/java/com/funkymuse/receivers/PhoneCallReceiver.kt b/receivers/src/main/java/dev/funkymuse/receivers/PhoneCallReceiver.kt similarity index 99% rename from receivers/src/main/java/com/funkymuse/receivers/PhoneCallReceiver.kt rename to receivers/src/main/java/dev/funkymuse/receivers/PhoneCallReceiver.kt index 56daed00c..811de2641 100644 --- a/receivers/src/main/java/com/funkymuse/receivers/PhoneCallReceiver.kt +++ b/receivers/src/main/java/dev/funkymuse/receivers/PhoneCallReceiver.kt @@ -1,4 +1,4 @@ -package com.funkymuse.receivers +package dev.funkymuse.receivers import android.content.BroadcastReceiver import android.content.Context diff --git a/receivers/src/main/java/com/funkymuse/receivers/ServicesReceiverExtensions.kt b/receivers/src/main/java/dev/funkymuse/receivers/ServicesReceiverExtensions.kt similarity index 99% rename from receivers/src/main/java/com/funkymuse/receivers/ServicesReceiverExtensions.kt rename to receivers/src/main/java/dev/funkymuse/receivers/ServicesReceiverExtensions.kt index e094c3cca..3a59044ae 100644 --- a/receivers/src/main/java/com/funkymuse/receivers/ServicesReceiverExtensions.kt +++ b/receivers/src/main/java/dev/funkymuse/receivers/ServicesReceiverExtensions.kt @@ -1,4 +1,4 @@ -package com.funkymuse.receivers +package dev.funkymuse.receivers import android.app.ActivityManager import android.app.Service diff --git a/receivers/src/main/java/com/funkymuse/receivers/SmsReceiver.kt b/receivers/src/main/java/dev/funkymuse/receivers/SmsReceiver.kt similarity index 96% rename from receivers/src/main/java/com/funkymuse/receivers/SmsReceiver.kt rename to receivers/src/main/java/dev/funkymuse/receivers/SmsReceiver.kt index 9a0f8301e..bd51f6b99 100644 --- a/receivers/src/main/java/com/funkymuse/receivers/SmsReceiver.kt +++ b/receivers/src/main/java/dev/funkymuse/receivers/SmsReceiver.kt @@ -1,4 +1,4 @@ -package com.funkymuse.receivers +package dev.funkymuse.receivers import android.content.BroadcastReceiver import android.content.Context diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapter.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapter.kt similarity index 98% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapter.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapter.kt index 9f73bc431..ea1fa9c80 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapter.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapter.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.view.LayoutInflater import android.view.View diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt similarity index 98% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt index fd9582863..5bef6b4f3 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingAdapterSingleSelection.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.view.LayoutInflater import android.view.View diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt similarity index 98% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt index 3552d5e27..648346007 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingCleanAdapter.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.content.Context import android.view.LayoutInflater diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt similarity index 98% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt index 4a82326e0..261623f40 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AbstractViewBindingHolderAdapter.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.content.Context import android.view.LayoutInflater diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt similarity index 99% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt index 472d1f90e..c43afd1db 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AdvancedDividerItemDecoration.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.content.Context import android.graphics.Canvas diff --git a/recyclerview/src/main/java/com/funkymuse/recyclerview/AutoFitGridLayoutManager.kt b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AutoFitGridLayoutManager.kt similarity index 97% rename from recyclerview/src/main/java/com/funkymuse/recyclerview/AutoFitGridLayoutManager.kt rename to recyclerview/src/main/java/dev/funkymuse/recyclerview/AutoFitGridLayoutManager.kt index d10ccbfa4..376e4cf8e 100644 --- a/recyclerview/src/main/java/com/funkymuse/recyclerview/AutoFitGridLayoutManager.kt +++ b/recyclerview/src/main/java/dev/funkymuse/recyclerview/AutoFitGridLayoutManager.kt @@ -1,4 +1,4 @@ -package com.funkymuse.recyclerview +package dev.funkymuse.recyclerview import android.content.Context import androidx.recyclerview.widget.GridLayoutManager @@ -32,7 +32,7 @@ android:scaleType="fitXY" android:id="@+id/iv_movieImage" android:layout_height="match_parent" /> -