-
- All Implemented Interfaces:
-
com.backbase.deferredresources.DeferredTypeface
public final class DeferredTypeface.Resource implements DeferredTypeface
A wrapper for a FontRes.
-
-
Constructor Summary
Constructors Constructor Description DeferredTypeface.Resource(Integer id)
-
Method Summary
-
-
Constructor Detail
-
DeferredTypeface.Resource
DeferredTypeface.Resource(Integer id)
-
-
Method Detail
-
resolve
Unit resolve(Context context, ResourcesCompat.FontCallback fontCallback, Handler handler)
Resolve id to a typeface asynchronously with the given context. fontCallback will be triggered on the handler's thread. If handler is null, fontCallback will be triggered on the UI thread.
-
-
-
-