forceLayoutInjection param missing in original example in wiki/Enhance-Fragments#forcing-layout-injection?

11 views
Skip to first unread message

Miroslav Javorský

unread,
Feb 19, 2017, 6:21:41 AM2/19/17
to androidannotations
Hello, I was reading about AA forceLayoutInjection parameter and I think in official example at:

https://github.com/androidannotations/androidannotations/wiki/Enhance-Fragments#forcing-layout-injection

... is missing actual example use of forceLayoutInjection = [true|false] parameter in @EFragment annotation.

@EFragment(R.layout.my_custom_layout, forceLayoutInjection = true)
public class MyFragment extends ListFragment {
 
// R.layout.my_custom_layout will be injectedSem zadať kód...
}

Csaba Kozák

unread,
Feb 19, 2017, 6:25:10 AM2/19/17
to androidan...@googlegroups.com
Thanks for the heads up, nice catch!

I fixed the wiki page. By the way, you can contribute to the wiki yourself.

--
You received this message because you are subscribed to the Google Groups "androidannotations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidannotations+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages