When I attempt to use your library on my Fragments it does not inflate correctly. The layout is squished in the top left corner of my screen. My standard code looks like this:
but it looks like your code, in the INFLATE enum, is making the container null. My guess is that this is what's causing the issue. Anyway my company currently extends the Fragment class so I'm not able to pass in the XML file into the Fragment as you seem to like doing in your examples.
When I attempt to use your library on my Fragments it does not inflate correctly. The layout is squished in the top left corner of my screen. My standard code looks like this:
but it looks like your code, in the INFLATE enum, is making the container null. My guess is that this is what's causing the issue. Anyway my company currently extends the Fragment class so I'm not able to pass in the XML file into the Fragment as you seem to like doing in your examples.