Alessandro Staniscia
unread,Mar 20, 2013, 11:49:32 AM3/20/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mixare-de...@googlegroups.com
Hi all,
I think is a good idea reorganize the "datasources" as service. Now
it's a composition of singleton (DataSourceStore) and it's a "extensions
of context" (MixContex -> DataSourceManager).
In my idea the DataSources should be stored and managed as services. If
"an activity" needs to use a specific DataSource, the activity itself
can take it from service and display/use it. When 'another actvity'
wants to add a new datasource, the activity itself add it on this
service: idem if I want to configure. Also it allows you to develop a
isolated testSuite and automatic testSuite for all datasource type
without the infrastructure of Activity or View
What do you think?