use of butterknife.Optional in project Auto.js by hyb1996.
the class CircularMenu method showLayoutHierarchy.
@Optional
@OnClick(R.id.layout_hierarchy)
void showLayoutHierarchy() {
mWindow.collapse();
if (!ensureCapture()) {
return;
}
mCaptureDeferred.promise().done(capture -> {
LayoutHierarchyFloatyWindow window = new LayoutHierarchyFloatyWindow(capture);
mActionViewIcon.post(() -> FloatyService.addWindow(window));
});
}
Aggregations