iPaulPro / aFileChooser

[DEPRECATED] Android library that provides a file explorer to let users select files on external storage.
Apache License 2.0
1.79k stars 850 forks source link

Can anybody explain how can I use this in fragment? #30

Closed LOG-TAG closed 10 years ago

LOG-TAG commented 10 years ago

I'm failed use this lib for fragments, child fragments . with call back!

krischik commented 10 years ago

Tried looking at the example? Looks pretty simple to me.

krischik commented 10 years ago

My last answer was to harsh. Sorry about that. The truth is: You don't. aFileChooser is an activity and is supposed to be used as one.

If you want to use com.ipaulpro.afilechooser.FileListFragment inside your own activity you have to duplicate most of the code in com.ipaulpro.afilechooser.FragmentActivity. You have to decide for yourself it is worth it.