Recycler list view extension Search list index help

When search list from TextBox.text, it has been search from list properly. but output search list shows always index 1 text. please let me know any mistake from my blocks.

Block Images



blocks(11)

Video Result

Thankyou

@techVsurya can you share a demo aia file

2 Likes

@iaditya_nanda Here is the demo aia .
RecyclerTest.aia (159.1 KB)

Thankyou

1 Like

@techVsurya sorry for a late reply I was a bit busy I some kind of work I will soon check the aia and try to solve your problem as soon as possible

1 Like

No problem. take your own time @iaditya_nanda . :smile:

1 Like

Quite surprise…

Actually it is filtering data correctly but it is not printing

In Niotron

But the same method working good in kodular, filtering data and based on data items are created dynamically

In Kodular

Check this in Kodular [F/OS] Recycler List View - Render larger data sets efficiently using `RecyclerView` for AppInventor & Distros - #24 by zainulhassan - Extensions - Kodular Community

1 Like

Thanks for your test.

Yes i am also tested.
I tried many logic but not succeed. Waiting for solution :innocent:

@Spicy_Topics thanks for the report let me check this if it is a bug or not

2 Likes

@iaditya_nanda I am waiting! :upside_down_face:

Ohhh i was a but busy :sweat_smile::sweat_smile: i will surely check this

1 Like

@techVsurya I found that your logic was wrong. I have made a correction in your AIA here. Please check this AIA; there are no bugs! and i apologies for the late reply
RecyclerTest.aia (160.2 KB)

1 Like

Thankyou @iaditya_nanda :blush:

No need to apologize.

1 Like

Built apk crash on android 12

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/recyclerview/widget/RecyclerView;
at java.lang.Class.getDeclaredFields(Native Method)
at gnu.bytecode.ClassType.addFields(ClassType.java:606)
at gnu.bytecode.ClassType.getFields(ClassType.java:506)
at gnu.bytecode.ClassType.hasOuterLink(ClassType.java:260)
at gnu.bytecode.ClassType.getDeclaredMethod(ClassType.java:880)
at gnu.bytecode.ClassType.addMethod(ClassType.java:667)
at gnu.bytecode.ClassType.addMethod(ClassType.java:698)
at gnu.bytecode.ClassType.addMethods(ClassType.java:1009)
at gnu.bytecode.ClassType.getDeclaredMethods(ClassType.java:725)
at gnu.bytecode.ClassType.getMethods(ClassType.java:809)
at gnu.kawa.reflect.ClassMethods.getMethods(ClassMethods.java:106)
at gnu.kawa.reflect.ClassMethods.apply(ClassMethods.java:229)
at gnu.kawa.reflect.Invoke.lookupMethods(Invoke.java:278)
at gnu.kawa.reflect.Invoke.applyN(Invoke.java:185)
at gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)
at com.niotron.techvsurya.RecyclerTest.Screen1.$define(Screen1.yail:10257)
at com.google.appinventor.components.runtime.Form.a(SourceFile:406)
at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:351)
at com.niotron.techvsurya.RecyclerTest.Screen1.onCreate(Screen1.yail:10003)
at android.app.Activity.performCreate(Activity.java:8181)
at android.app.Activity.performCreate(Activity.java:8147)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3746)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3940)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2318)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8299)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)
Caused by: java.lang.ClassNotFoundException: androidx.recyclerview.widget.RecyclerView
… 35 more

Test device : Redmi 11 Prime 5G

@Avijit can you please test it on your android 12 device and check the problem

It was already tested on

:wink:

2 Likes