Skip to content

Example App to demonstrate how to create views | User interface in android programmatically (dynamically) based on api data.

License

Notifications You must be signed in to change notification settings

abhishekgargx/androidDynamicViews

Repository files navigation

androidDynamicViews

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 .

Prerequisite

Internet connection required

What it does

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.

Download via Playstore

playstore_logo_image

Screenshot

android_dynamic_view_app_screenshot

About

Example App to demonstrate how to create views | User interface in android programmatically (dynamically) based on api data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages