Skip to main content
Jump to: navigation, search

Difference between revisions of "Tip of the Day/Extending"

(Created page with "=Extending the Tips Framework= The workflow of extending the framework is: * Create one or more tip providers that extend TipProvider * In the constructor or load method, pas...")
 
(Extending the Tips Framework)
Line 1: Line 1:
 
=Extending the Tips Framework=
 
=Extending the Tips Framework=
The workflow of extending the framework is:
+
You can add your own tips to the framework by implementing the TipProvider class
  
 
* Create one or more tip providers that extend TipProvider
 
* Create one or more tip providers that extend TipProvider
 
* In the constructor or load method, pass a list of Tip objects to the setTips(List<Tip>) method
 
* In the constructor or load method, pass a list of Tip objects to the setTips(List<Tip>) method
 +
 +
 +
* [[Tip of the Day/Extending/JSonTipProvider|a JSon Tip Provider]]
 +
* [[Tip of the Day/Extending/JavaTipProvider|a Java Tip Provider]]

Revision as of 10:23, 8 May 2018

Extending the Tips Framework

You can add your own tips to the framework by implementing the TipProvider class

  • Create one or more tip providers that extend TipProvider
  • In the constructor or load method, pass a list of Tip objects to the setTips(List<Tip>) method


Back to the top