private TransferControlView getTransferControls() { if (!transferControls.isPresent()) { transferControls = Optional.of( (TransferControlView) ViewUtil.inflateStub(this, R.id.transfer_controls_stub)); } return transferControls.get(); }
@SuppressWarnings("unused") public SendButton(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); this.transportOptions = initializeTransportOptions(false); ViewUtil.mirrorIfRtl(this, getContext()); }
private ImageView getRemoveButton() { if (removeButton == null) removeButton = ViewUtil.inflateStub(this, R.id.remove_button_stub); return removeButton; }
@SuppressWarnings("unused") public SendButton(Context context) { super(context); this.transportOptions = initializeTransportOptions(false); ViewUtil.mirrorIfRtl(this, getContext()); }