Country picker slowing down layout
Hey guys, first thanks for this cool project.
I'm having an issue where my keyboard really slows down when I click on the country picker or the Edittext view below the country picker, however, when I remove the country picker, my views works normally, but adding the picker really slows the layout down that it prevents the keyboard from leaving the screen even after closing the app. Please how do I fix this issue?
CCP loads country list from XML at the time of layout preparation. But I never observed slow down because of the operation. Can you please confirm if it slowdowns on demo app?
This causes a slowdown for me as well in certain devices, loading the file in a background thread would be nice.
That makes sense... I'm opening the issue. But cannot guarantee the time for implementation. PR is welcomed.
Thanks for the great work. Getting this error on compile
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
Have tried enabling Multidex but still does not work. Any suggestion?
@akiligedeon Try disabling instant run if you have it enabled and building again. That isn't related to the discussion here. I finally modified/removed the library to my use case to avoid the error.