The blocks area did not load properly

The author if the extension @iamwsumit might want to check...

Probably it is not a good idea to use the same name for an extension to avoid conflicts like this?

Taifun

2 Likes

That's a good point, though the AI2 LV was "ListView1" and the Extension arrives as "ListView2". You should be able to have a standard LV and a Custom LV on the same Screen IMO.

Yes, but most probably different component/extension names are necessary...

My guess is, if @iamwsumit renames the extension to something else, for example Sumit1334Listview, then the issue is gone... magically...

Taifun

3 Likes

I was able to reproduce that scenario, see post #20.

It may be only a small issue from the extension perspective, the developer may not have expected a Standard ListView to be on the same Screen. It seems to be that deleting the extension is not 100% successful - not sure about that though.

I think you are right!

Not sure what you mean Elson. The AI2 ListView is a built-in component. Example:
ListViewAdd.aia (4.6 KB)

I understand that AI2 ListView is built-in.

This statement of yours raised the confusion about the downloadable extension and update in the original component. I thought I will have to manually update the built-in components when you said that "that may have been the original ListView component", when I never have to download a built-in component.

But, thanks for the example.

Extension having the same name as a built-in component could be the prime cause of this glitch.@iamwsumit

Often, extensions enhance existing components rather than delivering a complete replacement - hence my comment. At that time, I had not seen the extension (indeed, I had never heard of it until now, probably because it is not in the AI2 list of extensions but on Kodular's site).

I hope the error can be fixed easily - the basis of the extension is similar to the AI2 built-in component, but with a lot of more advanced features.

1 Like

Yes, surely it is not. I already updated it a very long time ago in V2.

  • Extension has renamed to CustomListView from ListView as it was causing error while dragging the list view component. It may break your whole blocks. So kindly make a backup of the older project please. It was necesary to change the extension name.

Unfortunately, this extension is not fully compatible with AI2.
Read here:

https://community.kodular.io/t/free-custom-list-view-an-extension-for-making-image-and-text-list-view-with-a-lot-of-customization/142175/49?u=sumit1334

You can give V3 a try:

https://community.kodular.io/t/free-custom-list-view-an-extension-for-making-image-and-text-list-view-with-a-lot-of-customization/142175/45?u=sumit1334

Sure, you just need to call the class name something different. An example is the WebViewer component and the CustomWebViewer extension. The original extension development instructions encouraged this by having people build the extension alongside the App Inventor components so there was never any question that the name had to be different (you couldn't have two ListView.java files in the same folder...).

Internally, App Inventor keys off of the class name so creating extensions that collide with built-in App Inventor components with different signatures is a recipe for disaster.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.