summaryrefslogtreecommitdiffstats
path: root/src/qmlandroid/widget/qqmlandroidviewswitcher.cpp
blob: 3839fee7fa09c196a733658e6305491cbd3cfde6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "qqmlandroidviewswitcher_p.h"

QT_BEGIN_NAMESPACE

QQmlAndroidViewSwitcher::QQmlAndroidViewSwitcher(QQmlAndroidView *parent) :
    QQmlAndroidViewAnimator(parent)
{
}

QAndroidJniObject QQmlAndroidViewSwitcher::onCreate()
{
    return QAndroidJniObject("android/widget/ViewSwitcher",
                             "(Landroid/content/Context;)V",
                             ctx().object());
}

void QQmlAndroidViewSwitcher::onInflate(QAndroidJniObject &instance)
{
    QQmlAndroidViewAnimator::onInflate(instance);
}

QT_END_NAMESPACE