Skip to content

Circular indeterminate ProgressBarAndroid is deprecated. Use ActivityIndicator instead #103

@Jamadan

Description

@Jamadan

Three warnings encountered when I initialise gifted list view.

Code:
<GiftedListView rowView={this._renderRowView} onFetch={this._onFetch} firstLoader={true} // display a loader for the first fetching pagination={true} // enable infinite scrolling using touch to load more refreshable={true} // enable pull-to-refresh for iOS and touch-to-refresh for Android withSections={false} // enable sections enableEmptySections={true} //Removes warning on empty sections customStyles={{ paginationView: { backgroundColor: '#eee' } }} refreshableTintColor="blue"/>

1> "Warning: You are manually calling a React.PropTypes validation function for the indeterminate prop on ProgressBarAndroid. This is deprecated and will not work in production with the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."

2> "Warning: You are manually calling a React.PropTypes validation function for the indeterminate prop on AndroidProgressBar. This is deprecated and will not work in production with the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."

3> "Circular indeterminate ProgressBarAndroidis deprecated. Use ActivityIndicator instead."

Bit of a newbie to react-native. I'm following what the error is, just don't know how to address it using included components. Please advise!

Questions:

  • am I missing something here or is this due to the listview using something that is out of date on React?

  • should I care about the warning?

  • how do I suppress the warnings if I don't care?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions