Is it possible to create fragments dynamically to create a layout containing several fragments, something like a grid view. Currently, I can only load a few fragments if there are so many fixed fragments in my layout.
Absolutely! Check out the Android Developer Guide for snippets. Make sure that there is a second marker point, as well as a section called “Performing Fragmentation”: http://developer.android.com/guide/topics/fundamentals/fragments.html#Adding
Additionally, you can see your fragment control options in this class: http://developer.android.com/reference/android/app/FragmentTransaction.html
Source: https://habr.com/ru/post/903659/More articles:Is there a native C ++ alternative for C "memcmp"? - c ++Syslog command in C code - cWhat is an Enumerator object? (Created by String # gsub) - ruby | fooobar.comMVC3 Data Caching Methods - asp.netDjango form reload data - djangoHow to make loading animation in console application written in C ++? - c ++Checking if the template argument is a link [C ++ 03] - c ++string formatting for stdin.write () in python 3.x - stringHow to increase letters in C ++? - c ++How to implement robust pagination using the RESTful API when changing a result set? - restAll Articles