views:

24

answers:

0

I'm confused about something in the NotePad tutorial for Android: There are two separate NotePad classes definied, one in com.example.android.notepad, and the other in com.google.provider. They both contain the exact same Notes class defined in them, but I can't figure out why this is defined twice. At first glance the only one used is the com.example.android.notepad.NotePad class, but the other is referenced in the manifest file. This seems rather bizarre. Is there a reason for this? Why have two copies of the same exact class?