How to create dynamic forms of listview populated by video files?
I'm creating an application similar to the link give开发者_如何学编程n [here][1], but don't seems to know how to create a dynamic forms of listview that display video file name or as shown in the above image? So far online what i could find is mostly "hard-coding of strings" rather than "dynamic" coding of capturing video files...
This is what i tried so far for my codes but it seems odd to me or rather incomplete. Pardon me if i'm wrong i'm kinna new in android/java could someone guide me along?
You could create List object and add file name strings to it. Then you provide this list to ArrayAdapter constructor. Finally, you provide your ArrayAdapter to ListView via setAdapter
精彩评论