mazenrashed / Printooth

A well documented, high-level Android interface that makes printing via bluetooth printers easier
Mozilla Public License 2.0
400 stars 114 forks source link

Android-x Support #48

Closed FreedomChuks closed 4 years ago

FreedomChuks commented 4 years ago

android.support.v4.widget.SwipeRefreshLayout changed to => androidx.swiperefreshlayout.widget.SwipeRefreshLayout

FreedomChuks commented 4 years ago

it crashes on when trying to call the scanner Activity on any apps that uses androidx Unable to start activity ComponentInfo{com.example.testingprint/com.mazenrashed.printooth.ui.ScanningActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class androidx.swiperefreshlayout.widget.SwipeRefreshLayout

Rick19 commented 4 years ago

The problem remains the same, even with androidx.swiperefreshlayout.widget.SwipeRefreshLayout from android.support.v4.widget.SwipeRefreshLayout


Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.swiperefreshlayout.widget.SwipeRefreshLayout"

Dakusy commented 4 years ago

have you added implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" ?

FreedomChuks commented 4 years ago

I had to fix it my self for my personal use but I can could raise or to this

mazenrashed commented 4 years ago

Fixed in 1.2.2.