Search in sources :

Example 6 with Optional

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));
    });
}
Also used : LayoutHierarchyFloatyWindow(com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutHierarchyFloatyWindow) Optional(butterknife.Optional) OnClick(butterknife.OnClick)

Aggregations

OnClick (butterknife.OnClick)6 Optional (butterknife.Optional)6 UserItem (com.nextcloud.talk.adapters.items.UserItem)2 Intent (android.content.Intent)1 Bundle (android.os.Bundle)1 Handler (android.os.Handler)1 MaterialDialog (com.afollestad.materialdialogs.MaterialDialog)1 HorizontalChangeHandler (com.bluelinelabs.conductor.changehandler.HorizontalChangeHandler)1 VerticalChangeHandler (com.bluelinelabs.conductor.changehandler.VerticalChangeHandler)1 CallActivity (com.nextcloud.talk.activities.CallActivity)1 RetrofitBucket (com.nextcloud.talk.models.RetrofitBucket)1 Room (com.nextcloud.talk.models.json.rooms.Room)1 RoomOverall (com.nextcloud.talk.models.json.rooms.RoomOverall)1 OperationDialogBuilder (com.stardust.app.OperationDialogBuilder)1 LayoutBoundsFloatyWindow (com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutBoundsFloatyWindow)1 LayoutHierarchyFloatyWindow (com.stardust.scriptdroid.ui.floating.layoutinspector.LayoutHierarchyFloatyWindow)1 ScriptListView (com.stardust.scriptdroid.ui.main.scripts.ScriptListView)1 ThemeColorMaterialDialogBuilder (com.stardust.theme.dialog.ThemeColorMaterialDialogBuilder)1 Disposable (io.reactivex.disposables.Disposable)1 ArrayList (java.util.ArrayList)1