Project

General

Profile

« Previous | Next » 

Revision f988589e

Added by Leszek Koltunski almost 8 years ago

Further reduce the distortedObject's API - now only 26 methods, 1/4 of the 104 before the reorganization.

View differences:

src/main/java/org/distorted/examples/TableOfContents.java
39 39
import org.distorted.examples.fov.FOVActivity;
40 40
import org.distorted.examples.deform.DeformActivity;
41 41
import org.distorted.examples.listener.ListenerActivity;
42
import org.distorted.examples.interpolator.InterpolatorActivity;
42
import org.distorted.examples.dynamic.DynamicActivity;
43 43
import org.distorted.examples.girl.GirlActivity;
44 44
import org.distorted.examples.macroblock.MacroblockActivity;
45 45
import org.distorted.examples.movingeffects.MovingEffectsActivity;
......
135 135
   
136 136
   {
137 137
      final Map<String, Object> item = new HashMap<>();
138
      item.put(ITEM_IMAGE, R.drawable.icon_example_interpolator);
139
      item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_interpolator));
140
      item.put(ITEM_SUBTITLE, getText(R.string.example_interpolator_subtitle));
138
      item.put(ITEM_IMAGE, R.drawable.icon_example_dynamic);
139
      item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_dynamic));
140
      item.put(ITEM_SUBTITLE, getText(R.string.example_dynamic_subtitle));
141 141
      data.add(item);
142
      activityMapping.put(i++, InterpolatorActivity.class);
142
      activityMapping.put(i++, DynamicActivity.class);
143 143
   }
144 144
   
145 145
   {

Also available in: Unified diff