Skip to content

Commit

Permalink
Optimized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
easy-apps-2018 committed Feb 1, 2021
1 parent b991ad6 commit 9dbe0ba
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package com.easyapps.richeditorlib

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.easyapps.richeditorlib.helpers

import android.content.Context
import android.content.res.ColorStateList
import android.content.res.Resources
import android.graphics.Color
import android.graphics.drawable.Drawable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.easyapps.richeditorlib.styles

import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.abstracts.Style
import com.easyapps.richeditorlib.helpers.Helper
import com.easyapps.richeditorlib.spans.SpanBold
import com.easyapps.richeditorlib.widgets.RichEditText
import com.google.android.material.button.MaterialButton

class StyleBold(private val item: MaterialButton, editText: RichEditText) : Style<SpanBold>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.easyapps.richeditorlib.styles

import android.text.Editable
import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.abstracts.DynamicStyle
import com.easyapps.richeditorlib.interfaces.FontSizeListener
import com.easyapps.richeditorlib.spans.SpanFontSize
import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.windows.SizeSlider
import com.google.android.material.button.MaterialButton

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.easyapps.richeditorlib.styles

import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.abstracts.Style
import com.easyapps.richeditorlib.helpers.Helper
import com.easyapps.richeditorlib.spans.SpanItalic
import com.easyapps.richeditorlib.widgets.RichEditText
import com.google.android.material.button.MaterialButton

class StyleItalic(private val item: MaterialButton, editText: RichEditText) : Style<SpanItalic>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.easyapps.richeditorlib.styles

import android.text.style.StrikethroughSpan
import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.abstracts.Style
import com.easyapps.richeditorlib.helpers.Helper
import com.easyapps.richeditorlib.widgets.RichEditText
import com.google.android.material.button.MaterialButton

class StyleStrikethrough(private val item: MaterialButton, editText: RichEditText) : Style<StrikethroughSpan>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.easyapps.richeditorlib.styles

import com.easyapps.richeditorlib.widgets.RichEditText
import com.easyapps.richeditorlib.abstracts.Style
import com.easyapps.richeditorlib.helpers.Helper
import com.easyapps.richeditorlib.spans.SpanUnderline
import com.easyapps.richeditorlib.widgets.RichEditText
import com.google.android.material.button.MaterialButton

class StyleUnderline(private val item: MaterialButton, editText: RichEditText) : Style<SpanUnderline>() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
package com.easyapps.richeditorlib.widgets

import android.content.Context
import android.graphics.Color
import android.graphics.drawable.LayerDrawable
import android.util.AttributeSet
import android.view.Gravity
import android.view.View
import android.widget.HorizontalScrollView
import android.widget.LinearLayout
import androidx.core.content.ContextCompat
import androidx.core.graphics.drawable.DrawableCompat
import com.easyapps.richeditorlib.R
import com.easyapps.richeditorlib.interfaces.StyleListener
import com.easyapps.richeditorlib.styles.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.easyapps.richeditorlib

import org.junit.Assert.assertEquals
import org.junit.Test

import org.junit.Assert.*

/**
* Example local unit test, which will execute on the development machine (host).
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package com.easyapps.richeditor

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
Expand Down
3 changes: 1 addition & 2 deletions app/src/test/java/com/easyapps/richeditor/ExampleUnitTest.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.easyapps.richeditor

import org.junit.Assert.assertEquals
import org.junit.Test

import org.junit.Assert.*

/**
* Example local unit test, which will execute on the development machine (host).
*
Expand Down

0 comments on commit 9dbe0ba

Please sign in to comment.