Hello friends!
I'm a newbie in Android developing. So I'd like to ask you about best 
practises of solving a problem:
I have two tables in SQLiteDatabase: cards and meanings. Each card from 
cards table have at least 1 meaning in meanings table (usually each card 
has several meanings).
The aplication should have to implement next operations:
add a new card with a new meaning
add a meaning for an existing card
read, update, delete cards and it's meanings.

In my Android application I should show list of cards with related meanings 
(Activity shows listof cards, where each card item contains inner list of 
meanings).

What is a best way of implementation of such construction?

Now, I'm planing to realize 2 content providers (one for the cards and 
another one for the meanings). And then construct a class  which 
encapsulates content providers - so my Activity would work with the Card 
objects (each card has inner list of meanings) and put it into some kind of 
adapter which will be shown by some kind of listView. 

I'm not sure that this way is optimal, that's why every advice about way of 
realisation of such component would be very apreciated.
Thank you in advance!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to