All right.
Hopefully you had some success in hooking up the image screen to our navigator and getting a button
to display on the home screen as well.
Let's go ahead and give this a shot.
All right.
Some inside my app dot J.S. file at the very top.
I'm going to import the image screen that we just created from source screens image screen.
I'll then hook it up to my root configuration object right here.
So do something like image is image screen
that's all we should have to do to hook up that screen to our navigator object.
It's now the only other thing we have to do is open up our home screen and make sure there's a new button
inside there that we can use to tap and show the image screen that we just created.
So I'll open up that home screen not J.S. file.
Here it is right here.
I'm going to duplicate one of the buttons.
So a copy that button and paste it right underneath I'll change the title from go to list demo to something
like go to image demo instead.
The title doesn't matter.
So if you use a different title here that's totally fine.
Well then make sure that we update our navigate call remember this navigate call tells the react navigation
library which component we want to show on the screen we just hooked up that image screen called image.
So we want to navigate to image.
So back over here on the new button I will change the list to image with a capital I get.
Let's save this and try it out so I'll save it.
I can now see that new button right there and I'll double check on Android as well and I can click on
that link and I can see the image screen.
Perfect.
OK.
Now we've got that wired up.
Let's continue in the next video.
We're gonna discuss how we can easily create a reusable component and then use it several times inside
of that image screen.
So quick pause and I'll see you in just a minute.