'using 100+ EditTexts in Android Studio causes to lag the application

I want to use 100+ edittexts in android studio but when I add 100+ edittexts, on application start, it lags for a while, once it renders then it is ok but the lag duration depends on the device specs so Is there an any efficient way to use 100+ edittexts in android studio without any lag or performance drop?



Solution 1:[1]

The best way is to use hashmap or looping statements to make edittext. It is better to call api for saving and retrieving data instead of local.

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Peer Mohamed