You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Presentation class no longer takes an array of slides in the constructor;
instead, there's a setSlides() method which will be invoked either by
subclasses or the inflater.
MainActivity loads the xml/main_presentation resource instead of overriding
the xml/presentation resource -- this is temporary to make it easier to
switch between the default (sample) presentation and the regular presentation.
Issue #14.
Since Presentation initializes slides via setSlides(), it's possible for the
presentation to have no slides (e.g. if the presentation.xml is empty).
To avoid the odd crash, we use a default slide that explains the situation
to the user / developer.
Issue #14.
Defining the slides in a giant enum with a confusing dose of reflection didn't quite work out the way I'd hoped.
It'll be easier to define content in an XML resource that can also reference other resources directly.
The text was updated successfully, but these errors were encountered: