Skip to content

Commit

Permalink
Implement RealOptionalInjector
Browse files Browse the repository at this point in the history
Signed-off-by: mramotar <[email protected]>
  • Loading branch information
matt-ramotar committed Mar 16, 2024
1 parent cc16615 commit 9996f42
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package org.mobilenativefoundation.paging.core.impl

class RealOptionalInjector<T : Any> : OptionalInjector<T> {
var instance: T? = null

override fun inject(): T? {
return instance
}
}

0 comments on commit 9996f42

Please sign in to comment.