'Does mvvmicro/AutoFindviews supports AndoridX libraries?

Currently I am trying to update Android support libraries to AndoridX in our project which is built on Xamarin.Android. But when I use androidx widgets in layout files. Its throwing an error in autogenerated layout files.

[ex: I used <androidx.recyclerview.widget.RecyclerView> in FirstActivity.xml , I am getting error in FirstActivity.xml.g.cs file - "Error CS0246 The type or namespace name 'Androidx' could not be found (are you missing a using directive or an assembly reference?)" ]

FirstActivity.xml

 <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/backgroundColor">
    <include
        android:id="@+id/toolbar"
        layout="@layout/toolbar" />
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">
        <include
            android:id="@+id/Indicator"
            layout="@layout/Indicator" />
        <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/recycler_view"
                android:layout_width="match_parent"
                android:layout_height="match_parent" 
                android:clipToPadding="false"
                android:paddingBottom="@dimen/margin_small"
            />       
    </FrameLayout>
</LinearLayout>

FirstActivity.xml.g.cs

enter image description here

On further analysis found that in our project, mvvmicro is used. which has a tool AutoFindviews.
Created a sample project without Autofindviews. It works fine with AndroidX.

Any inputs how to solve this? Thanks in Advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source