@Test public void shouldSetEditable() throws Exception { view.setEditable(true); assertEquals(view.requisitionFormList.getDescendantFocusability(), ViewGroup.FOCUS_BLOCK_DESCENDANTS); view.setEditable(false); assertEquals(view.requisitionFormList.getDescendantFocusability(), ViewGroup.FOCUS_BEFORE_DESCENDANTS); }
public void setEditable(boolean isRnrFormMissed) { if (isRnrFormMissed) { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); } else { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); } }
ViaRequisitionBodyView extends FrameLayout { public void setEditable(boolean isRnrFormMissed) { if (isRnrFormMissed) { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); } else { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); } } }
ViaRequisitionBodyView extends FrameLayout { public void setEditable(boolean isRnrFormMissed) { if (isRnrFormMissed) { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); } else { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); } } ViaRequisitionBodyView(Context context);  ViaRequisitionBodyView(Context context, AttributeSet attrs); }
ViaRequisitionBodyView extends FrameLayout { public void setEditable(boolean isRnrFormMissed) { if (isRnrFormMissed) { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); } else { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); } } ViaRequisitionBodyView(Context context);  ViaRequisitionBodyView(Context context, AttributeSet attrs); void showListInputError(final int position); void initUI(VIARequisitionPresenter presenter); void autoScrollLeftToRight(); void refresh(RnRForm rnRForm); void setEditable(boolean isRnrFormMissed); void refreshProductNameList(); void refreshFormList(RnRForm.STATUS status); void highLightApprovedAmount(); void highLightRequestAmount(); void setHideImmOnTouchListener(); }
ViaRequisitionBodyView extends FrameLayout { public void setEditable(boolean isRnrFormMissed) { if (isRnrFormMissed) { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); } else { requisitionFormList.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); } } ViaRequisitionBodyView(Context context);  ViaRequisitionBodyView(Context context, AttributeSet attrs); void showListInputError(final int position); void initUI(VIARequisitionPresenter presenter); void autoScrollLeftToRight(); void refresh(RnRForm rnRForm); void setEditable(boolean isRnrFormMissed); void refreshProductNameList(); void refreshFormList(RnRForm.STATUS status); void highLightApprovedAmount(); void highLightRequestAmount(); void setHideImmOnTouchListener();  }