ScrollTo (Animation) smooth/scrollToItem for ListView

I just used ListView scrollTo / scrollToItem to scroll the list up to a specific element. As indicated, the methods are the list to 'jump' to the item you want. As everything else in Cascades is so "smoothly", it would be nice (should?) jump to a new article would happen smoothly (i.e., Animation).

If anyone knows how to make a smooth "scrollTo" on a list view, I would be very grateful to hear.

If there is currently no way to do it, maybe dev RIM could consider such an improvement.

Thank you

Jamie

Thank you. Fact: BBTEN-51

Tags: BlackBerry Developers

Similar Questions

  • Need to disable acceleration hardware and smooth scrolling for users on a Remote Desktop Session.

    Hello
    I need to disable acceleration hardware and smooth scrolling for any user that connects to an RDS Server. I messed up the mozilla.cfg and created an autoconfig.js file. I guess I'm missing something along the way.

    This is currently my autoconfig.js
    Pref ("general.config.filename", "mozilla.cfg");
    Pref ("general.config.obscure_value", 1);
    Pref ("app.update.channel", "liberation");

    Mozilla.cfg
    Smooth Scrolling disabled
    lockpref ("general.smoothScroll.disabled", true);
    disables hardware acceleration
    lockPref ("layers.acceleration.disabled", true);
    lockPref ("gfx.direct2d.disabled", true);

    All that I'm missing? When I restart the two options are always checked in the options.

    Thank you!!

    Hi b1gt3x, you use a clear cfg file, you'll want to put this in your instead of autoconfig.js:

    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "mozilla.cfg");
    

    In addition, you will have to make lockPref with a capital P in any case - that it reacts very sensitive to spelling errors...
    http://kb.mozillazine.org/Locking_preferences.

  • Size image or icon for listview settings?

    Anyone know if there is a reference to the image / size of the icon for ListView?  I want to reproduce the images of listview, as shown in the main page of settings app:

    (image) On

    (image) Network connections

    (image) Notifications

    Etc.

    Is it possible to see the raw images to icon in the source somewhere?

    Hello!

    https://developer.BlackBerry.com/DevZone/design/BB10/icon_types_and_sizes.html

    I use 81 x 81 px and they seem authentic.

    But the images are not correctly aligned in DefaultListItem - had to create a custom list item.

    Don't know if the source is available somewhere. If you find it please post a link.

    You can copy & paste them on a screenshot (waiting all the volume buttons 3 to take a screenshot).

  • How to record an animation After Effects for use in Captivate

    Advice on the best way to record an animation After Effects for use 7 Captivate?

    After effects files that can be rendered as MP4, you can insert them as video in Captivate.

  • How can I send the animation html email for my friend (yandex, email)?

    How can I send the animation html email for my friend (yandex, email)?

    You can not post. What you can do is to publish somewhere on a server and give them the address.

  • Animation jerky in flash - how to create an animation smooth?

    Hello

    I'm working on a very simple animation for a Leaderboard banner

    I want to get is text (6 words) animate from the right side and slow to a stop in the center of the banner. Simple.

    The problem im having is the when the text that comes alive on it tends to stutter and appear jerky while I need it to be very smooth.

    I tried to animate the text using basic chassis interpolation with acceleration and with different high refresh rate

    I have tried different methods of coding using tweening classes (both the class inherit in flash and any 3rd party classes) that appear to be improving the animation a bit but still with some random jerks.

    Here are a few sample banners

    http://www.dotlabel.co.uk/preview/test/testanimation_code.html

    http://www.dotlabel.co.uk/preview/test/testanimation_tween.html

    IM creating an another banner that anime in the text and a simple vector image - the saccade looks even worse

    One of the problems seems to be when the banner is displayed in the Explorer. It looks good in safari

    The text is printed anti alias for both animation and wmode is set to opaque

    IM using CS3 action script 2. The banner must be exported in flash 8

    I googled for solutions, but have not found any that are still functioning. Any suggestions would be welcome like im pulling my hair out here

    Thank you

    Less-than smooth text animation is often the norm in Flash. Try to adjust the speed of the animation (not the FPS, but rather the amount of time the spans of the animation). Faster animation, more difficult than it is for the eye to perceive the jerks.

    Also play with the FPS (some people think that FPS 31 is the "magic" number).

    Fixed possible ones are to try to split the text, or by creating a PNG of text and who import in Flash. New drawing of vector graphics is CPU intensive that redraw the bitmaps.

  • Could not load the log for listview

    I can not load calllog to list view.

    Here is the code

    signals:
        void calllogLoaded(const QList &data);
    
    QList callHistoryResults = callHistoryService.callHistory(defaultAccount.id(), defaultFilter, callHistoryParams);emit calllogLoaded(callHistoryResults);
    

    and QML

    calllogDM.insertList(data)
    

    «I got this error "QMetaProperty::read: unable to manage"QList"non-registered data type for the property «QDeclarativeBoundSignalParameters::data»»»

    Have spent days for this, I have not found the solution. Could you help me on this? How can I insert calllog to listview?

    Thank you!

    You need to do the conversion yourself. You should always get the actual data, the CallEntry ( https://developer.blackberry.com/native/reference/cascades/bb__pim__phone__callentry.html ). The model is unable to handle this for you anyway.

  • Get the thumbnail of the file for ListView

    Is there a way to get the thumbnail of an image? I have a listview showing the list of selected images and I want to display the thumbnail and the name of the file. Here's what I have so far

    I let the user select a picture through the file picker that returns only the path of file then I go this path in a method to add it to the datamodel.

    CPP file: I spend in the path of the image file that has been selected

                QVariantMap itemMap;
            QFileInfo fileInfo = QFileInfo(filePath);
            itemMap["name"] = QVariant(fileInfo.fileName());
            itemMap["image"] = QVariant(fileInfo.filePath());
    
            if (indexOf(itemMap) == -1)
            {
                   insert(0, itemMap);
             }
    

    ListItem QML

    StandardListItem
    {
        id:pictureItem
        title: ListItemData.name
        imageSpaceReserved: true
        imagesource: ListItemData.image
    
    }
    

    I'm pretty new to this so I have a feeling strong on this issue, I'm going the wrong way, but I noticed that I get an error message saying: he can't access element of . My thought was that the image space would diminish the image to fit the placeholder

    For the error do you put the permission to access_shared?

    I suggest that you should be creating thumbnails of images, save them in the folder of application data and update the image of ListItem.

    If you experience a delay when filling ListView, then you must think of preloading images and caching.

  • Using a single XML tag for ListView

    Hi all

    I try to fill my ListView with a series of specific tags from my XML file. For example, using this XML file:

    For what it's worth, this is how I solved this:

    1. Add a class ListItemProvider based in your project:

    class ViewerListItemManager: public bb::cascades::ListItemProvider
    {
    public:
        ViewerListItemManager();
    
        VisualNode * createItem(ListView* list, const QString &type);
    
        void updateItem(ListView* list, bb::cascades::VisualNode *listItem,
                const QString &type, const QVariantList &indexPath, const QVariant &data);
    };
    

    2. implementation of the new class:

    ViewerListItemManager::ViewerListItemManager()
    {
    }
    
    VisualNode * ViewerListItemManager::createItem(ListView* list, const QString &type)
    {
        Q_UNUSED(list);
    
        if (type.compare(GroupDataModel::Header) == 0) {
            return new Header();
        } else {
            return new StandardListItem();
        }
    }
    
    void ViewerListItemManager::updateItem(ListView* list, bb::cascades::VisualNode *listItem,
            const QString &type, const QVariantList &indexPath, const QVariant &data)
    {
        Q_UNUSED(list);
        Q_UNUSED(indexPath);
    
        if (type.compare(GroupDataModel::Header) == 0) {
            QString caption = data.value();
            static_cast(listItem)->setTitle(caption);
        } else {
            QVariantMap map = data.value();
            static_cast(listItem)->setTitle(QString("%1").arg(map["firstname"].toString()));
        }
    }
    

    3 assign the ListItemProvider to your list:

    groupDatamodel = new GroupDataModel();
    XmlDataAccess xda;
    QVariant list = xda.load(QDir::currentPath()+"/data/employees.xml", "/root/employee");
    
    groupDatamodel->insertList(list.value());
    listView = new ListView();
    ViewerListItemManager *viewerItemProvider = new ViewerListItemManager();
    listView->setListItemProvider(viewerItemProvider);
    listView->setDataModel(groupDatamodel);
    
  • Movement of scrolling or animated full-width for Tablet?

    I created an animation of movement of scrolling for my site, but can't find a way to make it work on a Tablet and a phone. The temp site is invisibleoakley.businesscatalyst.com

    What I read:

    • Movement of scrolling works on mobile and tablet or on sensitive sites. So I made a website for the office and is trying to get a job of alternative layout of Tablet.

    • I have considered rather create an animation in animated cc, but can't find a way to make it appear the width on the tablet. (as you can see, many elements come out of the screen) Is there a full-width oam widget that works on the tablets and phones?

    • Looked in motion 2 muse widget but cannot get that to work either.

    Would appreciate any ideas on how to make my scrolling animation (or something similar) are working on an ipad and phone. I put so much work into this. I hope that the desktop version will not be alone in some movements. The key is objects needs to scroll off the screen to the right, and from top to bottom left. Crossing my fingers that some genius can help!

    Thanks - Jami

    p.s. I'm not good with code, but can I cut and paste with the best of them ;-)

    Yes, htm5 animation to animate CC will work. You can also take a look at widgets, like this Widget host OnLoad for Adobe Muse by MuseThemes

  • Animated GIF > save for Web (legacy) ends too large

    I created an animated GIF on a work plan which is 768 x 90, but the Dimensions of the Document indicate 1456 x 416 (a lot of the images fly in and "shrink").

    When I export as a PNG or JPG image it only exports the work plan, so that it remains the size I want to (768 x 90); but when I export > save for Web (Legacy) which is the only way to create an animated GIF AFAIK, it is exported to 1456 x 416.

    How can I get to the exit of the GIF animated image to the size of the artboard? Thank you.

    New export > export as a workflow is not animated gifs, currently exporting. It's probably something that will be supported in the future, however.

    To export a gif animated image in PS using Photoshop CC 2015, do not work plans. Please use export > save for Web (legacy) option without work plans. The backup of the Web feature levels is not support work plans and probably never will be. Instead, we will continue to improve and to the export as a workflow.

  • How to export an image animation that loop for a certain period of time?

    I created a sequence of animation images with 6 photos chaque.12 seconds time and I put it for playback 25 times but when I export as a quicktime that it reads only once. How can I make the video loop exported 25 times?

    As far as I know, the only way to get in the gif / png is to repeat the executives making the size of the largest file 25 times, which is obviously not ideal.  But you might be able to control the number of loops in the application that you use to play the animation.  For example, I think you can do that from PowerPoint.

  • Animation in InDesign for DPS

    Hello

    I use a trial version of Indesign CC to have a quick look on the DPS that I will design an application interactive magazien soon

    How is-animation or moving objects made in the construction of a page of a magazine for use on an iPad.

    Is everything that slides / bland or appear during the generation of the page an animation of Adobe Edge or ar it built in tools in InDesign that help with the movement base and substitution of the object?

    Thanks in advance

    D

    It is built either with Adobe Edge animate or a video on the page. The built-in animation InDesign tools are not supported in DPS.

    Neil

  • Any way to disable scrolling for ListView?

    I have a ListView inside a larger ScrollPane. What I want is the domestic substances list to ever scroll and rather for the ScrollPane container to expand its scrolling area as the list grows. Currently, the list scrolls and my external ScrollPane never shows its scroll bars because it is its internal content is still small enough not to need external scroll bars.

    Someone at - it a way to make this happen? Currently, my only option seems to be that I ditch ListView all together and make my own list component that does not have a built-in scroll pane.

    Some examples of code for what I'm trying to do. In this code, see the ListView scroll bars appear. I don't want, I want the shutters outside roll scroll bars (allowing the button 'Add' scroll on the top of the screen that the list is growing):
    public class TestApp extends Application
    {
        public static void main(String[] args)
        {
            Application.launch(args);
        }
    
        public void start(Stage stage) throws Exception
        {
            ScrollPane scrollPane = new ScrollPane();
    
            // tried with and without these - without the list just uses a fixed size regardless of content size
            scrollPane.setFitToWidth(true);
            scrollPane.setFitToHeight(true);
    
            BorderPane borderPane = new BorderPane();
            borderPane.setStyle("-fx-padding: 50");
    
            final ListView<String> list = new ListView<String>();
            list.getItems().addAll("Bilby", "Bettong", "Wallaby");
            borderPane.setCenter(list);
    
            Button button = new Button("Add");
            button.setOnAction(new EventHandler<ActionEvent>()
            {
                public void handle(ActionEvent event)
                {
                    list.getItems().add("Another One");
                }
            });
    
            borderPane.setTop(button);
    
            scrollPane.contentProperty().set(borderPane);
    
            Scene scene = new Scene(scrollPane, 800, 600);
            stage.setScene(scene);
            stage.show();
        }
    }
    Appreciate any input, including "it is not possible" - at least then I can stop searching.

    See you soon,.
    zonski

    Unfortunately, it is not possible at the present time. Unlike in the world of the swing where it was necessary to wrap a JList in a get, in JavaFX world you get the scrollpane 'free of charge '.

    If you could clarify your use case I can be able to offer suggestions, although most likely I'm going to encourage you to produce a RFE by our JIRA.

    -Jonathan

  • Smooth gradient for the web

    I've never had this problem before and frankly, do not see it now... BUT... the customer sees the gradient on it as "jaggie".  They see it on several machines with different browsers. They have their set quite high color. Is there something I can do to recreate the background tile is smoother?
    Thank you!
    Sheila

    Actually the question is visible in the gradient JPG when you zoom - you have some ugly block artifacts in the area of transition for some reason any and naturally, when he gets the tile, it creates this model of comb. The only option is to recreate the image using a less destructive compression or use GIF / PNG.

    Mylenium

Maybe you are looking for

  • iTunes 12.5.1.21 Epic Fail

    I'm under Windows 10 Pro and my system automatically updated iTunes to version last night.  This morning I was unable to get iTunes to recognize all 8 of my Apple devices.  IPhone Ipad Air Iphone, Ipad Mini, 4 Ipod Classic 6 + 6.  I've read all the t

  • Is it possible to back up a social site in a file

    Hello I'm on a social site and found that a few friends I have, two of them 'disappeared', I need to know if it's possible for me to this social backup Web site when I asked their friendship again so that I don't "loose" them and I ask them again. Th

  • I have the code of error 0xc0000135 (Windows 7)

    I have the 0xc0000135 error code and I have tried everything that I could find on the internet for this problem. I am running windows 7 and you try to run an .exe application and it does not work. I asked the developer of the application and could no

  • Align the buttons at the bottom of the screen?

    I developed a homescreen of my application using VerticalFieldManager and added a background image, label, etc. rich text field. I try to add three buttons now. I want to have three buttons such as the button 'Add', 'Edit' and 'Delete' in all the bot

  • Contacts not saved blackBerry Smartphones

    I type a contact in and to save it, it will not save. I checked the filters and nothing that I have added a contact yesterday and he disappeared? Any ideas?