@CheckResult
    @NonNull
    public static PowerAdapter asAdapter(@NonNull @LayoutRes int... resources) {
        return new ItemAdapter(toItems(checkNotNull(resources, "resources")));
    }
@ CheckResult @ NonNull public static PowerAdapter asAdapter ( @ NonNull @ LayoutRes int ... resources ) { return new ItemAdapter ( toItems ( checkNotNull ( resources , "resources" ) ) ) ; }
Converts the specified fixed array of layout resources to an adapter.