Reflection is currently used to generate the intent in DeepLinkDelegate.
new DeepLinkEntry("http://example.com/deepLink/{id}/{name}/{place}", DeepLinkEntry.Type.METHOD, MainActivity.class, "intentForTaskStackBuilderMethods"),
Why not use a cache of IntentProvider?
public interface IntentProvider {
Intent get(Context context);
}
DeepLinkEntry can then use provider instead of the method name.
Reflection is currently used to generate the intent in
DeepLinkDelegate
.Why not use a cache of IntentProvider?
DeepLinkEntry
can then use provider instead of the method name.