![]() ![]() The primary methods defined by the TJPlacementListener interface are: The Tapjoy EasyApp sample app has a complete code example showing how this can be done. At a minimum your class will need to extend the TJPlacementListener interface (public class YourMainActivity extends and Activity implements TJPlacementListener). You will need to prepare delegate methods to handle the various placement responses. For ads, this makes the user less likely to interact with the ad, and therefore less likely to make money for you. If you wait until the last moment to request content, it is likely the user will have to wait for the content to load, and watch a loading spinner. For example, if the placement is a button on your main menu, you might want to request content for it when your application starts, just after the Tapjoy Connect call succeeds. Pre-caching the contentįor the best user experience, you should request content in advance of when the user might be shown that content. Do not make a request before you have received the onConnectSuccess callback. NB: Before you request content please ensure that the Tapjoy connect call has succeeded.
0 Comments
Leave a Reply. |