Android app Customization using SDK
Hello Everyone,
I am trying to develop a custom mobile application using Zoho Creator's Android SDK. I am going through the sample application, which was developed using Java + Kotlin + XML . Is it possible to create using Kotlin and compose? Because I am getting errors when selecting dropdown I am getting error.
- E FATAL EXCEPTION: main
- Process: com.zenzys.zym, PID: 22366
- android.view.InflateException: Binary XML file line #26: Binary XML file line #26: Error inflating class RadioButton
- Caused by: android.view.InflateException: Binary XML file line #26: Error inflating class RadioButton
- Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 6: TypedValue{t=0x2/d=0x101009b a=1}
- at android.content.res.TypedArray.getColorStateList(TypedArray.java:538)
- at android.widget.TextView.<init>(TextView.java:904)
- at android.widget.Button.<init>(Button.java:172)
- at android.widget.CompoundButton.<init>(CompoundButton.java:94)
- at android.widget.RadioButton.<init>(RadioButton.java:63)
- at android.widget.RadioButton.<init>(RadioButton.java:59)
- at androidx.appcompat.widget.AppCompatRadioButton.<init>(AppCompatRadioButton.java:76)
- at androidx.appcompat.widget.AppCompatRadioButton.<init>(AppCompatRadioButton.java:72)
- at androidx.appcompat.app.AppCompatViewInflater.createRadioButton(AppCompatViewInflater.java:263)
- at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:176)
- at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1654)
- at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1705)
- at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:189)
- at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:772)
- at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
- at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
- at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
- at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
- at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
- at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
- at com.zoho.creator.ui.form.SingleSelectBottomSheetFragment.onCreateView(SingleSelectBottomSheetFragment.kt:157)
- at androidx.fragment.app.Fragment.performCreateView(Fragment.java:3104)
- at androidx.fragment.app.DialogFragment.performCreateView(DialogFragment.java:510)
- at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:524)
- at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
- at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1899)
- at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1823)
- at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1760)
- at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:547)
- at android.os.Handler.handleCallback(Handler.java:789)
- at android.os.Handler.dispatchMessage(Handler.java:98)
- at android.os.Looper.loop(Looper.java:164)
- at android.app.ActivityThread.main(ActivityThread.java:6541)
- at java.lang.reflect.Method.invoke(Native Method)
- at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
- at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)