-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lesson four #6
Open
rahulsatish
wants to merge
23
commits into
lesson-two
Choose a base branch
from
lesson-four
base: lesson-two
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Lesson four #6
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7d0e356
1.7 Add ContentProvider
07f3866
1.8 Add constants for pet content URIs
b34ac1f
1.9 Add UriMatcher to ContentProvider
b295107
1.10 Implement ContentProvider query() method
bf44f26
1.11 Query the provider using the pet content URI
c64812e
1.12 Implement and use ContentProvider insert() method
6861be5
1.13 Add input validation to ContentProvider insert() method
a1bcc0c
1.14 Implement ContentProvider update() method
81fe10a
1.15 Implement ContentProvider delete() method
a244b5a
1.16 Implement ContentProvider getType() method
feca5f2
1.17 Create PetCursorAdapter to display list of pets in ListView
636e6bd
1.18 Add empty view to the ListView
dec30b1
1.19 Switch to CursorLoader
e587771
1.20 Modify ContentProvider so Loader refreshes data automatically
c0d42fb
1.21 Clicking on list item opens EditorActivity
8d4b875
1.22 Load existing pet data from database
20d0524
1.23 Save changes to existing pet if it already exists
6a82f79
1.24 Prevent crash with blank editor
bea7d90
1.25 Warn user about losing unsaved changes
d90609a
1.26 Hide delete menu option for new pets
c1a4418
1.27 Delete pet from editor menu item
311f80d
1.28 Delete all pets from catalog menu item
d942c19
1.29 Display “Unknown breed” for pets without breed
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
due to using this mcurrenturi i get a NullPointerException right after making these commits in my existing code.can someone help me with this