Slide 14
Slide 14 text
14
Add controls for behavior
class HomeLayoutFactory implements ViewFactory {
@Override public View createView(Context context, ViewGroup parent) {
LayoutInflater inflater = LayoutInflater.from(context);
return inflater.inflate(R.layout.home_debug, parent, false);
}
}
class HomeLayoutFactory implements ViewFactory {
@Override public View createView(Context context, ViewGroup parent) {
LayoutInflater inflater = LayoutInflater.from(context);
return inflater.inflate(R.layout.home, parent, false);
}
}
src/internal/java
src/production/java