当前位置: 首页>>代码示例>>Java>>正文


Java LogLevel.INFO属性代码示例

本文整理汇总了Java中de.mrapp.android.util.logging.LogLevel.INFO属性的典型用法代码示例。如果您正苦于以下问题:Java LogLevel.INFO属性的具体用法?Java LogLevel.INFO怎么用?Java LogLevel.INFO使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在de.mrapp.android.util.logging.LogLevel的用法示例。


在下文中一共展示了LogLevel.INFO属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SingleChoiceExpandableListAdapterImplementation

/**
 * Creates a new adapter, whose underlying data is managed as a list of arbitrary group and
 * child items, of which only one item can be selected at once.
 *
 * @param context
 *         The context, the adapter belongs to, as an instance of the class {@link Context}. The
 *         context may not be null
 * @param decorator
 *         The decorator, which should be used to customize the appearance of the views, which
 *         are used to visualize the group and child items of the adapter, as an instance of the
 *         generic type DecoratorType. The decorator may not be null
 * @param choiceMode
 *         The choice mode of the adapter as a value of the enum {@link ChoiceMode}
 */
public SingleChoiceExpandableListAdapterImplementation(@NonNull final Context context,
                                                       @NonNull final SelectableExpandableListDecorator<GroupType, ChildType> decorator,
                                                       @NonNull final ChoiceMode choiceMode) {
    this(context, decorator, LogLevel.INFO,
            new MultipleChoiceListAdapterImplementation<>(context,
                    new NullObjectDecorator<Group<GroupType, ChildType>>()), false, true, true,
            new CopyOnWriteArraySet<ExpandableListAdapterItemClickListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListAdapterItemLongClickListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListAdapterListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpansionListener<GroupType, ChildType>>(), true,
            new CopyOnWriteArraySet<ExpandableListEnableStateListener<GroupType, ChildType>>(),
            1, 1, false, false, false,
            new CopyOnWriteArraySet<ExpandableListItemStateListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListSortingListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListFilterListener<GroupType, ChildType>>(), true,
            true, false, true,
            new CopyOnWriteArraySet<ExpandableListSelectionListener<GroupType, ChildType>>(),
            choiceMode, true);
}
 
开发者ID:michael-rapp,项目名称:AndroidAdapters,代码行数:33,代码来源:SingleChoiceExpandableListAdapterImplementation.java

示例2: ExpandableListAdapterImplementation

/**
 * Creates a new adapter, whose underlying data is managed as a list of arbitrary group and
 * child items.
 *
 * @param context
 *         The context, the adapter belongs to, as an instance of the class {@link Context}. The
 *         context may not be null
 * @param decorator
 *         The decorator, which should be used to customize the appearance of the views, which
 *         are used to visualize the group and child items of the adapter, as an instance of the
 *         generic type DecoratorType. The decorator may not be null
 */
public ExpandableListAdapterImplementation(@NonNull final Context context,
                                           @NonNull final ExpandableListDecorator<GroupType, ChildType> decorator) {
    this(context, decorator, LogLevel.INFO,
            new MultipleChoiceListAdapterImplementation<>(context,
                    new NullObjectDecorator<Group<GroupType, ChildType>>()), false, true, true,
            new CopyOnWriteArraySet<ExpandableListAdapterItemClickListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListAdapterItemLongClickListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListAdapterListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpansionListener<GroupType, ChildType>>(), true,
            new CopyOnWriteArraySet<ExpandableListEnableStateListener<GroupType, ChildType>>(),
            1, 1, false, false, false,
            new CopyOnWriteArraySet<ExpandableListItemStateListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListSortingListener<GroupType, ChildType>>(),
            new CopyOnWriteArraySet<ExpandableListFilterListener<GroupType, ChildType>>());
}
 
开发者ID:michael-rapp,项目名称:AndroidAdapters,代码行数:27,代码来源:ExpandableListAdapterImplementation.java

示例3: TabSwitcherModel

/**
 * Creates a new model of a {@link TabSwitcher}.
 *
 * @param tabSwitcher
 *         The tab switcher, the model belongs to, as an instance of the class {@link
 *         ViewGroup}. The parent may not be null
 */
public TabSwitcherModel(@NonNull final TabSwitcher tabSwitcher) {
    ensureNotNull(tabSwitcher, "The tab switcher may not be null");
    this.tabSwitcher = tabSwitcher;
    this.listeners = new LinkedHashSet<>();
    this.referenceTabIndex = -1;
    this.referenceTabPosition = -1;
    this.logLevel = LogLevel.INFO;
    this.tabs = new ArrayList<>();
    this.switcherShown = false;
    this.selectedTab = null;
    this.decorator = null;
    this.contentRecyclerAdapter = null;
    this.padding = new int[]{0, 0, 0, 0};
    this.applyPaddingToTabs = true;
    this.tabIconId = -1;
    this.tabIconBitmap = null;
    this.tabBackgroundColor = null;
    this.tabContentBackgroundColor = -1;
    this.tabTitleTextColor = null;
    this.tabCloseButtonIconId = -1;
    this.tabCloseButtonIconBitmap = null;
    this.tabProgressBarColor = -1;
    this.addTabButtonListener = null;
    this.addTabButtonColor = null;
    this.showToolbars = false;
    this.toolbarTitle = null;
    this.toolbarNavigationIcon = null;
    this.toolbarNavigationIconListener = null;
    this.toolbarMenuId = -1;
    this.toolbarMenuItemListener = null;
    this.tabCloseListeners = new LinkedHashSet<>();
    this.tabPreviewListeners = new LinkedHashSet<>();
}
 
开发者ID:michael-rapp,项目名称:ChromeLikeTabSwitcher,代码行数:40,代码来源:TabSwitcherModel.java

示例4: TabSwitcherModel

/**
 * Creates a new model of a {@link TabSwitcher}.
 *
 * @param tabSwitcher
 *         The tab switcher, the model belongs to, as an instance of the class {@link
 *         ViewGroup}. The parent may not be null
 */
public TabSwitcherModel(@NonNull final TabSwitcher tabSwitcher) {
    ensureNotNull(tabSwitcher, "The tab switcher may not be null");
    this.tabSwitcher = tabSwitcher;
    this.listeners = new LinkedHashSet<>();
    this.firstVisibleTabIndex = -1;
    this.firstVisibleTabPosition = -1;
    this.logLevel = LogLevel.INFO;
    this.tabs = new ArrayList<>();
    this.switcherShown = false;
    this.selectedTab = null;
    this.decorator = null;
    this.childRecyclerAdapter = null;
    this.padding = new int[]{0, 0, 0, 0};
    this.tabIconId = -1;
    this.tabIconBitmap = null;
    this.tabBackgroundColor = null;
    this.tabTitleTextColor = null;
    this.tabCloseButtonIconId = -1;
    this.tabCloseButtonIconBitmap = null;
    this.showToolbars = false;
    this.toolbarTitle = null;
    this.toolbarNavigationIcon = null;
    this.toolbarNavigationIconListener = null;
    this.toolbarMenuId = -1;
    this.toolbarMenuItemListener = null;
    this.tabCloseListeners = new LinkedHashSet<>();
    this.tabPreviewListeners = new LinkedHashSet<>();
}
 
开发者ID:NeoTerm,项目名称:NeoTerm,代码行数:35,代码来源:TabSwitcherModel.java

示例5: MultipleChoiceListAdapterImplementation

/**
 * Creates a new adapter, whose underlying data is managed as a list of arbitrary items, of
 * which multiple items can be selected at once.
 *
 * @param context
 *         The context, the adapter should belong to, as an instance of the class {@link
 *         Context}. The context may not be null
 * @param decorator
 *         The decorator, which should be used to customize the appearance of the views, which
 *         are used to visualize the items of the adapter, as an instance of the generic type
 *         DecoratorType. The decorator may not be null
 */
public MultipleChoiceListAdapterImplementation(@NonNull final Context context,
                                               @NonNull final SelectableListDecorator<DataType> decorator) {
    this(context, decorator, LogLevel.INFO, new ArrayList<Item<DataType>>(), false, true,
            new CopyOnWriteArraySet<ListAdapterItemClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterItemLongClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterListener<DataType>>(),
            new CopyOnWriteArraySet<ListEnableStateListener<DataType>>(), 1, false,
            new CopyOnWriteArraySet<ListItemStateListener<DataType>>(),
            new CopyOnWriteArraySet<ListSortingListener<DataType>>(),
            new CopyOnWriteArraySet<ListFilterListener<DataType>>(),
            new LinkedHashSet<AppliedFilter<DataType>>(), true,
            new CopyOnWriteArraySet<ListSelectionListener<DataType>>());
}
 
开发者ID:michael-rapp,项目名称:AndroidAdapters,代码行数:25,代码来源:MultipleChoiceListAdapterImplementation.java

示例6: SingleChoiceListAdapterImplementation

/**
 * Creates a new adapter, whose underlying data is managed as a list of arbitrary items, of
 * which only one item can be selected at once.
 *
 * @param context
 *         The context, the adapter should belong to, as an instance of the class {@link
 *         Context}. The context may not be null
 * @param decorator
 *         The decorator, which should be used to customize the appearance of the views, which
 *         are used to visualize the items of the adapter, as an instance of the generic type
 *         DecoratorType. The decorator may not be null
 */
public SingleChoiceListAdapterImplementation(@NonNull final Context context,
                                             @NonNull final SelectableListDecorator<DataType> decorator) {
    this(context, decorator, LogLevel.INFO, new ArrayList<Item<DataType>>(), false, true,
            new CopyOnWriteArraySet<ListAdapterItemClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterItemLongClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterListener<DataType>>(),
            new CopyOnWriteArraySet<ListEnableStateListener<DataType>>(), 1, false,
            new CopyOnWriteArraySet<ListItemStateListener<DataType>>(),
            new CopyOnWriteArraySet<ListSortingListener<DataType>>(),
            new CopyOnWriteArraySet<ListFilterListener<DataType>>(),
            new LinkedHashSet<AppliedFilter<DataType>>(), true,
            new CopyOnWriteArraySet<ListSelectionListener<DataType>>(), true);
}
 
开发者ID:michael-rapp,项目名称:AndroidAdapters,代码行数:25,代码来源:SingleChoiceListAdapterImplementation.java

示例7: NoChoiceListAdapterImplementation

/**
 * Creates a new adapter, whose underlying data is managed as a list of arbitrary items.
 *
 * @param context
 *         The context, the adapter belongs to, as an instance of the class {@link Context}. The
 *         context may not be null
 * @param decorator
 *         The decorator, which should be used to customize the appearance of the views, which
 *         are used to visualize the items of the adapter, as an instance of the type {@link
 *         ListDecorator}. The decorator may not be null
 */
public NoChoiceListAdapterImplementation(@NonNull final Context context,
                                         @NonNull final ListDecorator<DataType> decorator) {
    this(context, decorator, LogLevel.INFO, new ArrayList<Item<DataType>>(), false, true,
            new CopyOnWriteArraySet<ListAdapterItemClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterItemLongClickListener<DataType>>(),
            new CopyOnWriteArraySet<ListAdapterListener<DataType>>(),
            new CopyOnWriteArraySet<ListEnableStateListener<DataType>>(), 1, false,
            new CopyOnWriteArraySet<ListItemStateListener<DataType>>(),
            new CopyOnWriteArraySet<ListSortingListener<DataType>>(),
            new CopyOnWriteArraySet<ListFilterListener<DataType>>(),
            new LinkedHashSet<AppliedFilter<DataType>>());
}
 
开发者ID:michael-rapp,项目名称:AndroidAdapters,代码行数:23,代码来源:NoChoiceListAdapterImplementation.java


注:本文中的de.mrapp.android.util.logging.LogLevel.INFO属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。