Giter Site home page Giter Site logo

App Crashes about pageindicatorview HOT 3 CLOSED

romandanylyk avatar romandanylyk commented on September 23, 2024
App Crashes

from pageindicatorview.

Comments (3)

romandanylyk avatar romandanylyk commented on September 23, 2024

Hi
what do you mean by increasing maven version?
After releasing a new version I do make a tag about it, so you can track it in git.
0ec8009

from pageindicatorview.

prilaga avatar prilaga commented on September 23, 2024

@romandanylyk Thank you for your feedback.
I see that you increased maven version, my bad.
I used 0.0.9 and all works properly, then I've updated to 0.1.0 and see crashes. It's appears on activity that have rotation. Now I have 85 crashes. Seems it's happened not at all devices.
You can launch this app https://play.google.com/store/apps/details?id=com.lucky.notewidget and open first screen (help screen).
I will try to use previous version.

Crash details:
Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.lucky.notewidget/com.lucky.notewidget.ui.activity.HelpActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class com.rd.SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/help_indicator. Make sure other views do not use the same id.

xml:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/root_helpview"
                xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:app="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">

    <RelativeLayout
        android:id="@+id/video_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentTop="true"
        android:layout_centerInParent="true"
        android:background="@drawable/nexus_5"
        android:gravity="center"
        android:visibility="visible">

        <VideoView
            android:id="@+id/video_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_centerInParent="true"
            android:layout_gravity="center"/>

    </RelativeLayout>

    <com.lucky.notewidget.ui.views.NViewPager
        android:id="@+id/help_view_pager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"/>

    <com.lucky.notewidget.ui.views.checkbox.CircleCheckBox
        android:id="@+id/help_page_checkbox"
        android:layout_width="@dimen/checkbox_big_size"
        android:layout_height="@dimen/checkbox_big_size"
        android:layout_above="@+id/help_indicator"
        android:layout_alignParentRight="false"
        android:layout_centerHorizontal="true"
        android:gravity="center"
        app:cb_pressedRingWidth="6dip"/>

    <com.rd.PageIndicatorView
        android:id="@+id/help_indicator"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="@dimen/m_size"
        app:piv_padding="@dimen/l_size"
        app:piv_radius="@dimen/n_size"
        app:piv_animationType="worm"
        app:piv_dynamicCount="true"
        app:piv_interactiveAnimation="true"
        app:piv_viewPager="@id/help_view_pager"/>

    <include layout="@layout/view_progress_layout"/>

</RelativeLayout>

from pageindicatorview.

azmifadz avatar azmifadz commented on September 23, 2024

fixed after upgrading to 0.1.1 . Thanks a lot!

from pageindicatorview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.