avast / android-styled-dialogs

Backport of Material dialogs with easy-to-use API based on DialogFragment
Apache License 2.0
2.15k stars 450 forks source link

Regarding usage with API 14+ and FragmentManager #33

Closed tmsbn closed 9 years ago

tmsbn commented 10 years ago

I want to use this library with my application targeting API 14+. Hence I am only extending Activity in my activities, which gives access to only getFragmentManager()(not the support version) but the constructor requires the supportFragmentManager. How do i resolve this? I would like to avoid extending FragmentActivity if possible. Sorry If i missed something obvious here.

Excellent work on the library!!

tomas-vondracek commented 10 years ago

Hi, check out "no-support-lib" branch. We don't have any other solution just yet. Also note this branch might be little bit behind, but we merge changes from master time to time.

hwki commented 10 years ago

Any chance of getting this branch pushed to Maven?

tmsbn commented 10 years ago

+1

tmsbn commented 10 years ago

Any update on this issue?.

davidvavra commented 10 years ago

Is this really necessary? Some features like ViewPager are only in the support library and we never know how will Android change in the future. I would use support library even for projects API 14+

Michenux commented 10 years ago

+1 too.

Michenux commented 10 years ago

Could you make a release of this branch ? stable enough ? maybe 2.0.0, and working with android studio (aar). Possible ?

juzersunelwala commented 10 years ago

+1

mizw commented 10 years ago

+1

ghatasheh commented 10 years ago

+1

manuelrego27 commented 10 years ago

+1

davidvavra commented 9 years ago

The new version 2.0.1 is based on Material design which requires appcompat-v7 (unless you are targetting Lollipop-only). We think that you will always need a support library (if you want to be up-to-date to Google's latest design language). I'm closing the issue.