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