FakeDataSource.Factory


public class FakeDataSource.Factory implements DataSource.Factory


Factory to create a FakeDataSource.

Summary

Protected fields

FakeDataSet
boolean

Public constructors

Protected fields

fakeDataSet

protected FakeDataSet fakeDataSet

isNetwork

protected boolean isNetwork

Public constructors

Factory

public Factory()

Public methods

createDataSource

public FakeDataSource createDataSource()

Creates a DataSource instance.

setFakeDataSet

@CanIgnoreReturnValue
public final FakeDataSource.Factory setFakeDataSet(FakeDataSet fakeDataSet)

setIsNetwork

@CanIgnoreReturnValue
public final FakeDataSource.Factory setIsNetwork(boolean isNetwork)