-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new FrescoVitoSetup interface to set up Vito
Reviewed By: defHLT Differential Revision: D58590726 fbshipit-source-id: ddedada319dae4296c9fedef3ac793c7a01b9749
- Loading branch information
1 parent
1d34bca
commit 60b8ca9
Showing
2 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
vito/provider/src/main/java/com/facebook/fresco/vito/provider/setup/FrescoVitoSetup.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
package com.facebook.fresco.vito.provider.setup | ||
|
||
import com.facebook.fresco.vito.core.FrescoController2 | ||
import com.facebook.fresco.vito.core.FrescoVitoConfig | ||
import com.facebook.fresco.vito.core.FrescoVitoPrefetcher | ||
import com.facebook.fresco.vito.core.VitoImagePipeline | ||
|
||
interface FrescoVitoSetup { | ||
|
||
fun getController(): FrescoController2 | ||
|
||
fun getPrefetcher(): FrescoVitoPrefetcher | ||
|
||
fun getImagePipeline(): VitoImagePipeline | ||
|
||
fun getConfig(): FrescoVitoConfig | ||
} |