Hi,
In Android ExpandableLIstViews only give developers a single level item view
and here I designed it to give for 3 level (wiki, space and page).
If you are expecting me to develop a component like described this will not
be a traditional custom component which can be designed for Android. Custom
components are just UI components only. It does only get data from outside
and show in a way they designed.
So I will work on making some kind of Android Activity which can be used for
developers. Android Activities can be started within the application and
developers can use its' results.
I completely agree with you on dynamically loading data in this component.
So I'll add xwiki-android-rest to this component and load data dynamically
through it.
Thank you,
Chamika Weerasinghe
On Fri, Jun 24, 2011 at 12:23 PM, Thomas Mortagne <thomas.mortagne(a)xwiki.com
wrote:
> On Fri, Jun 24, 2011 at 07:28, Chamika Weerasinghe <chamikaw(a)gmail.com>
wrote:
> > Hi,
> >
> > No this is just a sample and I added data for getting this screenshot.
> >
> > This is the component. Later I'll develop a sample application(phase 2 in
> > project) which imports xwiki-android-rest(phase 1.1)
> > and xwiki-android-components(phase 1.2) libraries. Then using Android
> REST I
> > get data and pass it to the components within the sample application.
>
> I'm not sure it's really the way to go, IMO since it's a XWiki
> specific component it should communicate with XWiki directly to get
> it's datas on the fly (when you click on a space the document are
> dynamically loaded from REST etc...). You can't imagine loading a
> whole wiki and give it to the tree from outside, that would take way
> too many memory for a big wiki.
>
> Plus if your component is just a custom ExpandableListView (I don't
> even seen what you need to customize really) I don't really see the
> point, developper could simply use standard ExpandableListView and
> give it the datas too. IMO XWikiNavigatorView should just need to be
> put in an application and just work (it would get XWiki connection
> informations from account manager etc.).
>
> >
> >
> > On Fri, Jun 24, 2011 at 2:33 AM, Thomas Mortagne
> > <thomas.mortagne(a)xwiki.com>wrote;wrote:
> >
> >> On Thu, Jun 23, 2011 at 22:17, Chamika Weerasinghe
<chamikaw(a)gmail.com>
> >
wrote:
> >>
> Hi,
> >> >
> >> > I developed reusable component for xwiki naviagate as Eduard
> suggested.
> >> It's
> >> > more likely a tree-view in android interface.
> >> >
> >>
>
https://picasaweb.google.com/lh/photo/NfEuYpaUsBxUoEWE2DQuDg?feat=directlink
> >> >
> >> > source
> >> >
> >>
>
https://github.com/xwiki-contrib/android-client/tree/master/xwiki-android-c…
> >> >
> >> > It has some issues in viewing (does not show some bottom items
> correctly
> >> due
> >> > to scrollbars) and I will solve them as soon as possible.
> >>
> >> Your component does not seems to get datas using REST client, is it ?
> >> It does not depends on it in the pom.xml.
> >>
> >> > Please suggest some ideas to make this nice looking for the user.
> >> >
> >> >
> >> > Best Regards,
> >> > Chamika Weerasinghe
> >> > _______________________________________________
> >> > devs mailing list
> >> > devs(a)xwiki.org
> >> >
http://lists.xwiki.org/mailman/listinfo/devs
> >> >
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >> _______________________________________________
> >> devs mailing list
> >> devs(a)xwiki.org
> >>
http://lists.xwiki.org/mailman/listinfo/devs
> >>
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> >
http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
>