Example App to demonstrate how to create views | User interface in android programmatically (dynamically) and use scroll view inside another scrollview. Eg. popular apps like swiggy, playstore uses a kind of technique in which they add view dynamically based on api data, so that developer do not need to hard code layout.xml .
Internet connection required
it takes a number than hit api call, this api return json of strings , now using this string values i simply showing first 5 as horizontal scroll view and next 10 as vertical scroll view item, and then next 5 as horizontal again.. so ..on, this app helps you to learn how you can split data of your api and propagate into user inteface programmatically.