StickyScrollViewItems icon indicating copy to clipboard operation
StickyScrollViewItems copied to clipboard

Cannot inflate StickyScrollView in fragment

Open francophong opened this issue 12 years ago • 1 comments

Dear emilsjolander,

I tried to inflate the StickyScrollView as below: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.mylayout, container, false); }

In mylayout.xml: <com.test.StickyScrollView ... />

When I run the app, it returned the error: : Error inflating class com.test.StickyScrollView

Please advise me. Thanks

francophong avatar Oct 28 '13 17:10 francophong

You may not have enough information here. Try including the stacktrace and your full layout xml.

It's also possible that github consumed some of your code as formatting characters. Surround the lines with three backtick (`) characters for better formatting.

pforhan avatar Oct 28 '13 17:10 pforhan