24
Telescope
class HomeLayoutFactory implements ViewFactory {
@Override public View createView(Context context, ViewGroup parent) {
LayoutInflater inflater = LayoutInflater.from(context);
TelescopeLayout layout = (TelescopeLayout)
inflater.inflate(R.layout.home_telescope, parent, false);
layout.setLens(new EmailDeviceInfoLens(context, "Glitch", "
[email protected]"));
}
}
src/internal/java
https://github.com/mattprecious/telescope