I am creating Custom Designs list view Extension with integration of card view and recycler view

Compilation showing successful. Without any Error . But its Getting Runtime Error. Can any one help what is issue and make code perfectly run with loading Perfect views.

Extension Contains :

Source File Renamed as .txt
RecyclerViewAdapter.java
RecyclerViewAdapter.txt (1.7 KB)

Source File Renamed as .txt
RecyclerViewExtension.java
RecyclerViewExtension.txt (11.3 KB)

AIA Which i created
CDview(1).aia (766.0 KB)

I am integrating CardView Layouts RecyclerView to perform my request.

currently it showing me following error.
Runtime Error :no_entry_sign:

Events in this extension
image

Methods/Functions

image

Properties
image

Please suggest me what i am doing wrong .

Hard code values.xml.

There is no file named as values.xml i found but there is following file
Renamed as xml to txt
build.xml.txt (28.5 KB)

Are you using extension template?

No i am using complete source tree with Linux Mint Os and use simple terminal with command ant extensions

This are multiple jar files which i tested. But now i seted which compiled error free

XML Contains ...


This are supported Jar Files Addressed in side build.xml

You don't need to add the cardview and recyclerview libraries with the extension. AI2 already has them built-in. (See here)
You need to drag & drop the ListView component and make it invisible.

I recommend you to use the new and improved extension builder FAST CLI.

@JEWEL Thanks for Addressing about my issue.

I tried as you guided as considered alternative solution. and one error is solved. but another one popup again.

Once i Installed IntelJ Idea i will Try with FAST CLI also.

You're trying to get length of a null string. You should check it before getting the length.

To get the stack trace of this exception read the device logs.

1 Like

4 posts were merged into an existing topic: :man_running: Fast : An Efficient Way to Build Extensions