X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fshared-javascript-and-cpp-documentation%2Fitem-view.md;h=93c48166a687fdfcea2d1d8cfa026c311771a7a8;hp=13132535ed8adba1127e6eca38f26a3e8082f6b4;hb=6991753931a9a5b8a6b253c5e9e1541556239d1b;hpb=1c5674a11a51310ee689d6daf4e6b7d94dec607e diff --git a/docs/content/shared-javascript-and-cpp-documentation/item-view.md b/docs/content/shared-javascript-and-cpp-documentation/item-view.md index 1313253..93c4816 100644 --- a/docs/content/shared-javascript-and-cpp-documentation/item-view.md +++ b/docs/content/shared-javascript-and-cpp-documentation/item-view.md @@ -32,13 +32,12 @@ public: { // We should create the actor here that represents our item based on the itemId given. - // Here we'll create an ImageActor which uses the the itemId to parse the image in a particular directory. + // Here we'll create an ImageView which uses the the itemId to parse the image in a particular directory. std::ostringstream imageName; imageName << "my-image-folder/" << itemId << ".png"; // If item was 10, then this would result in my-image-folder/10.png - Dali::ResourceImage image = Dali::ResourceImage::New( imageName.str() ); - // Create an Image Actor from the image and return - return Dali::ImageActor::New( image ); + // Create the Image View from the image and return + return Dali::Toolkit::ImageView::New( imageName.str() ); } }; ~~~