package com.toughra.ustadmobile.test;

import android.util.SparseArray;
import android.util.SparseIntArray;
import android.view.View;
import androidx.databinding.DataBinderMapper;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.RuntimeException;
import java.lang.String;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.annotation.Generated;

@Generated("Android Data Binding")
public class DataBinderMapperImpl extends DataBinderMapper {
  private static final SparseIntArray INTERNAL_LAYOUT_ID_LOOKUP = new SparseIntArray(0);

  @Override
  public ViewDataBinding getDataBinder(DataBindingComponent component, View view, int layoutId) {
    int localizedLayoutId = INTERNAL_LAYOUT_ID_LOOKUP.get(layoutId);
    if(localizedLayoutId > 0) {
      final Object tag = view.getTag();
      if(tag == null) {
        throw new RuntimeException("view must have a tag");
      }
    }
    return null;
  }

  @Override
  public ViewDataBinding getDataBinder(DataBindingComponent component, View[] views, int layoutId) {
    if(views == null || views.length == 0) {
      return null;
    }
    int localizedLayoutId = INTERNAL_LAYOUT_ID_LOOKUP.get(layoutId);
    if(localizedLayoutId > 0) {
      final Object tag = views[0].getTag();
      if(tag == null) {
        throw new RuntimeException("view must have a tag");
      }
      switch(localizedLayoutId) {
      }
    }
    return null;
  }

  @Override
  public int getLayoutId(String tag) {
    if (tag == null) {
      return 0;
    }
    Integer tmpVal = InnerLayoutIdLookup.sKeys.get(tag);
    return tmpVal == null ? 0 : tmpVal;
  }

  @Override
  public String convertBrIdToString(int localId) {
    String tmpVal = InnerBrLookup.sKeys.get(localId);
    return tmpVal;
  }

  @Override
  public List<DataBinderMapper> collectDependencies() {
    ArrayList<DataBinderMapper> result = new ArrayList<DataBinderMapper>(2);
    result.add(new androidx.databinding.library.baseAdapters.DataBinderMapperImpl());
    result.add(new com.toughra.ustadmobile.DataBinderMapperImpl());
    return result;
  }

  private static class InnerBrLookup {
    static final SparseArray<String> sKeys = new SparseArray<String>(306);

    static {
      sKeys.put(0, "_all");
      sKeys.put(1, "activeAccount");
      sKeys.put(2, "activityEventHandler");
      sKeys.put(3, "adapter");
      sKeys.put(4, "addFileVisible");
      sKeys.put(5, "addMode");
      sKeys.put(6, "addTextVisible");
      sKeys.put(7, "alreadySelectedOption");
      sKeys.put(8, "approvalPersonParentJoin");
      sKeys.put(9, "assignment");
      sKeys.put(10, "assignmentMark");
      sKeys.put(11, "assignmentProgressSummary");
      sKeys.put(12, "assignmentStatus");
      sKeys.put(13, "attendanceRecordStatusMap");
      sKeys.put(14, "authorName");
      sKeys.put(15, "bitmask");
      sKeys.put(16, "bitmaskFlag");
      sKeys.put(17, "block");
      sKeys.put(18, "blockTitleError");
      sKeys.put(19, "blockWithAssignment");
      sKeys.put(20, "buttonEnabled");
      sKeys.put(21, "buttonLabel");
      sKeys.put(22, "caDeadlineError");
      sKeys.put(23, "caGracePeriodError");
      sKeys.put(24, "caMaxPointsError");
      sKeys.put(25, "caStartDateError");
      sKeys.put(26, "caTitleError");
      sKeys.put(27, "changePasswordVisibility");
      sKeys.put(28, "chart");
      sKeys.put(29, "chat");
      sKeys.put(30, "chatVisibility");
      sKeys.put(31, "clazz");
      sKeys.put(32, "clazzAssignment");
      sKeys.put(33, "clazzCodeVisible");
      sKeys.put(34, "clazzEndDateError");
      sKeys.put(35, "clazzEnrolment");
      sKeys.put(36, "clazzEnrolmentWithClazz");
      sKeys.put(37, "clazzLocalTimeZone");
      sKeys.put(38, "clazzLog");
      sKeys.put(39, "clazzLogAttendanceRecordWithPerson");
      sKeys.put(40, "clazzLogLocalTime");
      sKeys.put(41, "clazzStartDateError");
      sKeys.put(42, "code");
      sKeys.put(43, "comment");
      sKeys.put(44, "commentwithperson");
      sKeys.put(45, "completionCriteriaListener");
      sKeys.put(46, "completionCriteriaOptions");
      sKeys.put(47, "compressionEnabled");
      sKeys.put(48, "conditionOptions");
      sKeys.put(49, "conditionSelectionListener");
      sKeys.put(50, "conditionsErrorText");
      sKeys.put(51, "containerTitle");
      sKeys.put(52, "contentEntry");
      sKeys.put(53, "contentEntryButtons");
      sKeys.put(54, "contentEntryPicture");
      sKeys.put(55, "contentEntryPictureUri");
      sKeys.put(56, "contententry");
      sKeys.put(57, "course");
      sKeys.put(58, "courseBlockOneToManyListener");
      sKeys.put(59, "courseGroupSet");
      sKeys.put(60, "courseImageAdapter");
      sKeys.put(61, "coursePicture");
      sKeys.put(62, "courseTerminology");
      sKeys.put(63, "coverImage");
      sKeys.put(64, "createAccountVisibility");
      sKeys.put(65, "createNewFilter");
      sKeys.put(66, "createNewText");
      sKeys.put(67, "currentPasswordError");
      sKeys.put(68, "currentPasswordVisibility");
      sKeys.put(69, "customField");
      sKeys.put(70, "customFieldOptions");
      sKeys.put(71, "customFieldValue");
      sKeys.put(72, "customFieldValueOptions");
      sKeys.put(73, "dataSetSelectionListener");
      sKeys.put(74, "date");
      sKeys.put(75, "dateError");
      sKeys.put(76, "dateOfBirth");
      sKeys.put(77, "dateOfBirthFieldError");
      sKeys.put(78, "dateRangeMoment");
      sKeys.put(79, "dateRangeMomentSelected");
      sKeys.put(80, "dateRangeOptions");
      sKeys.put(81, "dateTimeMode");
      sKeys.put(82, "dateTimeModeEnd");
      sKeys.put(83, "dayOptions");
      sKeys.put(84, "deadlineDate");
      sKeys.put(85, "deadlinePassed");
      sKeys.put(86, "deadlineTime");
      sKeys.put(87, "discussion");
      sKeys.put(88, "discussionPost");
      sKeys.put(89, "discussionTopic");
      sKeys.put(90, "displayLanguage");
      sKeys.put(91, "dropDownValueOptions");
      sKeys.put(92, "editButtonMode");
      sKeys.put(93, "emailError");
      sKeys.put(94, "emptyStateDrawableId");
      sKeys.put(95, "emptyStateMessage");
      sKeys.put(96, "endDateError");
      sKeys.put(97, "enrolmentPolicy");
      sKeys.put(98, "entityName");
      sKeys.put(99, "entityType");
      sKeys.put(100, "entry");
      sKeys.put(101, "entryWithLanguage");
      sKeys.put(102, "errorReport");
      sKeys.put(103, "errorText");
      sKeys.put(104, "eventHandler");
      sKeys.put(105, "eventListener");
      sKeys.put(106, "featuresBitmaskFlags");
      sKeys.put(107, "fieldErrorText");
      sKeys.put(108, "fieldOptions");
      sKeys.put(109, "fieldSelectionListener");
      sKeys.put(110, "fieldsEnabled");
      sKeys.put(111, "fileNameText");
      sKeys.put(112, "fileRequiredListener");
      sKeys.put(113, "fileSubmission");
      sKeys.put(114, "fileSubmissionVisibility");
      sKeys.put(115, "fileTypeOptions");
      sKeys.put(116, "filter");
      sKeys.put(117, "filterOptions");
      sKeys.put(118, "firstNamesError");
      sKeys.put(119, "fragment");
      sKeys.put(120, "fragmentEventHandler");
      sKeys.put(121, "fragmentEventListener");
      sKeys.put(122, "fromFixedDateMissing");
      sKeys.put(123, "fromTimeError");
      sKeys.put(124, "genderFieldError");
      sKeys.put(125, "genderOptions");
      sKeys.put(126, "gracePeriodDate");
      sKeys.put(127, "gracePeriodTime");
      sKeys.put(128, "gracePeriodVisibility");
      sKeys.put(129, "groupList");
      sKeys.put(130, "groupMember");
      sKeys.put(131, "groupSet");
      sKeys.put(132, "groupSetEnabled");
      sKeys.put(133, "hasFilesToSubmit");
      sKeys.put(134, "hasPassedDeadline");
      sKeys.put(135, "headingText");
      sKeys.put(136, "hideClazzes");
      sKeys.put(137, "hintText");
      sKeys.put(138, "holiday");
      sKeys.put(139, "holidayCalendar");
      sKeys.put(140, "holidayCalendarVisible");
      sKeys.put(141, "holidaycalendar");
      sKeys.put(142, "imageViewLifecycleObserver");
      sKeys.put(143, "importErrorColor");
      sKeys.put(144, "importLink");
      sKeys.put(145, "inProgress");
      sKeys.put(146, "indentLevel");
      sKeys.put(147, "infoText");
      sKeys.put(148, "intentMessage");
      sKeys.put(149, "inviteHandler");
      sKeys.put(150, "isEditVisible");
      sKeys.put(151, "isImportError");
      sKeys.put(152, "isPickerMode");
      sKeys.put(153, "isPortrait");
      sKeys.put(154, "itemListener");
      sKeys.put(155, "joinCode");
      sKeys.put(156, "langListVisible");
      sKeys.put(157, "langNameError");
      sKeys.put(158, "language");
      sKeys.put(159, "languageError");
      sKeys.put(160, "lastNameError");
      sKeys.put(161, "learnerGroupMember");
      sKeys.put(162, "leavingReason");
      sKeys.put(163, "licenceOptions");
      sKeys.put(164, "link");
      sKeys.put(165, "linkError");
      sKeys.put(166, "listener");
      sKeys.put(167, "loading");
      sKeys.put(168, "loadingStatus");
      sKeys.put(169, "locallyAvailable");
      sKeys.put(170, "loggedInPerson");
      sKeys.put(171, "loggedInPersonUid");
      sKeys.put(172, "logoutBtnVisibility");
      sKeys.put(173, "mFragment");
      sKeys.put(174, "mPresenter");
      sKeys.put(175, "manageParentConsentVisible");
      sKeys.put(176, "mark");
      sKeys.put(177, "markCompleteVisible");
      sKeys.put(178, "markNextStudentVisible");
      sKeys.put(179, "markStudentVisible");
      sKeys.put(180, "markingTypeOptions");
      sKeys.put(181, "message");
      sKeys.put(182, "metadataResult");
      sKeys.put(183, "minScoreVisible");
      sKeys.put(184, "notSubmitted");
      sKeys.put(185, "onClickNew");
      sKeys.put(186, "onClickSort");
      sKeys.put(187, "onListFilterOptionSelected");
      sKeys.put(188, "oneToManyJoinListener");
      sKeys.put(189, "openSheet");
      sKeys.put(190, "option");
      sKeys.put(191, "pagedListAdapter");
      sKeys.put(192, "panicButtonAppName");
      sKeys.put(193, "parentContact");
      sKeys.put(194, "parentContactError");
      sKeys.put(195, "password");
      sKeys.put(196, "passwordConfirmError");
      sKeys.put(197, "passwordError");
      sKeys.put(198, "passwordVisible");
      sKeys.put(199, "permissionButtonVisible");
      sKeys.put(200, "person");
      sKeys.put(201, "personGroup");
      sKeys.put(202, "personImageAdapter");
      sKeys.put(203, "personParentJoin");
      sKeys.put(204, "personPicture");
      sKeys.put(205, "personUid");
      sKeys.put(206, "personWithEnrolmentDetails");
      sKeys.put(207, "presenter");
      sKeys.put(208, "profileBtnVisibility");
      sKeys.put(209, "publicComment");
      sKeys.put(210, "reasonLeavingVisible");
      sKeys.put(211, "reasonTitleError");
      sKeys.put(212, "registrationMode");
      sKeys.put(213, "relToOptions");
      sKeys.put(214, "relUnitOption");
      sKeys.put(215, "relationshipFieldError");
      sKeys.put(216, "relationshipFieldOptions");
      sKeys.put(217, "report");
      sKeys.put(218, "reportFilter");
      sKeys.put(219, "reportTemplate");
      sKeys.put(220, "roleOptions");
      sKeys.put(221, "roleSelectedError");
      sKeys.put(222, "saveAsTemplateVisible");
      sKeys.put(223, "schedule");
      sKeys.put(224, "scheduleOneToManyListener");
      sKeys.put(225, "school");
      sKeys.put(226, "schoolCodeVisible");
      sKeys.put(227, "schoolMember");
      sKeys.put(228, "schoolWithHolidayCalendar");
      sKeys.put(229, "scopedGrant");
      sKeys.put(230, "scopedGrantFlagMessageIds");
      sKeys.put(231, "scopedGrantListener");
      sKeys.put(232, "scopedGrantsOneToManyListener");
      sKeys.put(233, "score");
      sKeys.put(234, "scoreProgress");
      sKeys.put(235, "selectFolderVisible");
      sKeys.put(236, "selectListener");
      sKeys.put(237, "selectablePagedListAdapter");
      sKeys.put(238, "selectedFilterOption");
      sKeys.put(239, "selectedStorageIndex");
      sKeys.put(240, "series");
      sKeys.put(241, "session");
      sKeys.put(242, "sheet");
      sKeys.put(243, "showButton");
      sKeys.put(244, "showDeleteButton");
      sKeys.put(245, "showFiles");
      sKeys.put(246, "showFolder");
      sKeys.put(247, "showPoints");
      sKeys.put(248, "showProgress");
      sKeys.put(249, "showUpdateContentButton");
      sKeys.put(250, "showVideoPreview");
      sKeys.put(251, "showWebPreview");
      sKeys.put(252, "site");
      sKeys.put(253, "siteLink");
      sKeys.put(254, "siteTerms");
      sKeys.put(255, "siteTermsWithLanguage");
      sKeys.put(256, "sortListener");
      sKeys.put(257, "sortOption");
      sKeys.put(258, "startDate");
      sKeys.put(259, "startDateError");
      sKeys.put(260, "startTime");
      sKeys.put(261, "statement");
      sKeys.put(262, "statusOptions");
      sKeys.put(263, "statusSelectorListener");
      sKeys.put(264, "storageOptions");
      sKeys.put(265, "subgroupOptions");
      sKeys.put(266, "subgroupSelectionListener");
      sKeys.put(267, "submission");
      sKeys.put(268, "submissionPolicy");
      sKeys.put(269, "submissionStatus");
      sKeys.put(270, "tableId");
      sKeys.put(271, "teacherStudentCount");
      sKeys.put(272, "text");
      sKeys.put(273, "textLimitTypeOptions");
      sKeys.put(274, "textRequiredListener");
      sKeys.put(275, "textSubmissionVisibility");
      sKeys.put(276, "time");
      sKeys.put(277, "timeError");
      sKeys.put(278, "timeZone");
      sKeys.put(279, "timeZoneId");
      sKeys.put(280, "titleErrorEnabled");
      sKeys.put(281, "titleErrorText");
      sKeys.put(282, "toFixedDateMissing");
      sKeys.put(283, "toRelativeDateInvalid");
      sKeys.put(284, "toTimeError");
      sKeys.put(285, "translationVisibility");
      sKeys.put(286, "uidAndLabel");
      sKeys.put(287, "unassignedError");
      sKeys.put(288, "unlockCode");
      sKeys.put(289, "url");
      sKeys.put(290, "username");
      sKeys.put(291, "usernameError");
      sKeys.put(292, "usernameVisibility");
      sKeys.put(293, "valuesErrorText");
      sKeys.put(294, "valuesSelectionListener");
      sKeys.put(295, "verbEntity");
      sKeys.put(296, "versionInfo");
      sKeys.put(297, "versionText");
      sKeys.put(298, "videoPreviewVisibility");
      sKeys.put(299, "visualTypeOptions");
      sKeys.put(300, "visualTypeSelectionListener");
      sKeys.put(301, "workspaceSettingsVisible");
      sKeys.put(302, "workspaceTerms");
      sKeys.put(303, "xAxisOptions");
      sKeys.put(304, "xAxisSelectionListener");
      sKeys.put(305, "yAxisOptions");
    }
  }

  private static class InnerLayoutIdLookup {
    static final HashMap<String, Integer> sKeys = new HashMap<String, Integer>(0);
  }
}
