I ended up with something like this:
[lua]
local function onRequireWidgetLibraryAlso(name)
return require(“framework-widgets-master.” … name)
end
package.preload.widget_theme_ios = onRequireWidgetLibraryAlso
package.preload.widget_theme_ios_sheet = onRequireWidgetLibraryAlso
package.preload.widget_theme_android = onRequireWidgetLibraryAlso
package.preload.widget_theme_android_sheet = onRequireWidgetLibraryAlso
– Override Corona’s core widget libraries with the files contained in this project’s subdirectory.
– Argument “name” will be set to the name of the library being loaded by the require() function.
local function onRequireWidgetLibrary(name)
return require(“framework-widgets-master.widgetLibrary.” … name)
end
package.preload.widget = onRequireWidgetLibrary
package.preload.widget_button = onRequireWidgetLibrary
package.preload.widget_momentumScrolling = onRequireWidgetLibrary
…[/lua]
So that I could put everything in one folder. However, this does not appear to solve the issue. I added print statements to line 273 and 280 of the pickerwheel code to see if it was being called, so far, no print statements. Can you confirm that the print statement should work?
Cheers,
Mourdos