input-samples icon indicating copy to clipboard operation
input-samples copied to clipboard

compatibility issue when migrating to androidx

Open r0b0t3d opened this issue 7 years ago • 3 comments

This code stop working on devices below 25 when I migrate to androidx recently. Device info: Sony xperia M5 - Android 6.0.0 Those code block

import android.support.v13.view.inputmethod.EditorInfoCompat;
import android.support.v13.view.inputmethod.InputConnectionCompat;
import android.support.v13.view.inputmethod.InputContentInfoCompat;

are replaced with

import androidx.core.view.inputmethod.EditorInfoCompat;
import androidx.core.view.inputmethod.InputConnectionCompat;
import androidx.core.view.inputmethod.InputContentInfoCompat;

Is it androidx issue? Thanks, image

r0b0t3d avatar Sep 24 '18 04:09 r0b0t3d

+1

2fours avatar Feb 04 '19 23:02 2fours

I was also banging my head on wall trying to understand what I was doing wrong in my production app. Seems like with androidx, below Android 8 shows this Toast.

mwajeeh avatar May 03 '19 02:05 mwajeeh

any solution for this? I m facing the same issue

yunus-atmaca avatar Jan 19 '20 21:01 yunus-atmaca