Skip to content

Issue in adding ListView and RecyclerView #167

@uniquelipu

Description

@uniquelipu

Whenever I try to add ListView or RecyclerView into JSON data the following exception is thrown.

Caused by: com.flipkart.android.proteus.exceptions.ProteusInflateException: attribute 'children' must be an array of 'Layout' objects
at com.flipkart.android.proteus.parser.custom.ViewGroupParser.handleChildren(ViewGroupParser.java:163)
at com.flipkart.android.proteus.parser.custom.ViewGroupParser$5.handleValue(ViewGroupParser.java:128)
at com.flipkart.android.proteus.parser.custom.ViewGroupParser$5.handleValue(ViewGroupParser.java:120)
at com.flipkart.android.proteus.processor.AttributeProcessor.process(AttributeProcessor.java:126)
at com.flipkart.android.proteus.ViewTypeParser.handleAttribute(ViewTypeParser.java:175)
at com.flipkart.android.proteus.ViewTypeParser.handleAttribute(ViewTypeParser.java:171)
at com.flipkart.android.proteus.SimpleLayoutInflater.handleAttribute(SimpleLayoutInflater.java:189)
at com.flipkart.android.proteus.SimpleLayoutInflater.inflate(SimpleLayoutInflater.java:103)
at com.onemoney.commonuisdk.ProteusUIActivity.onCreate(ProteusUIActivity.kt:71)

Please help me to find any solution for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions