[Discontinued] ListAddon Extension

ListAddon ListAddon Extension

This extension allows for doing more things with App Inventor Lists. I made this extension with Kodular IDE. :grin:

Current version: 1
Release date: 2019-04-21T21:00:00Z
Required permissions: none
Min API required: N/A

I decided the build this extension because I saw we can actually do more things with YailList (a Java object which used in App Inventor for lists.) So I created additional blocks for the built-in list blocks.

Blocks

Block Name Description Required List Type
BubbleSort Return a list which sorted by Bubble sorting algorithm. Number
MinimumNumber Return minimum number in list. Number
MaximumNumber Return maximum number in list. Number
SimpleSort Return a sorted list for list which contains strings instead of numbers. String
Compare Returns true if input lists are same. If not, result will be false. All
GetLastItem Return last item from any list. It can be useful if you have dynamic list. All
ToJSONString Return a strictly syntactically correct JSON text representation of list. All
Reverse* Return a reversed list. All
  • I wanted to make a universal extension which will work in all App Inventor distros. So maybe we can have ā€œreverse listā€ block, but other distros still may not have. Thatā€™s why I added this block to the extension.

  • I didnā€™t add sorting option because you can already have descending sorting by reversing sorted list.
    image

Download

com.yusufcihan.listaddon.aix (8.7 KB)

I hope you like it! :wink: Donā€™t forget to report the problems. I will try to do my best to improve this extension. :slightly_smiling_face:

(by the way I love direct links)

60 Likes
How to sorting multiple lists
Leaderboard system
Sort List Numerically
Full Restaurant Management System
Problem in listutils extension
How to sync two list (BubbleSort)
Randomly order letters in a word
Sort "Points" value in Firebase Database
I need help how to sort a listview by date
How can i Get data from different different project bucket
How can i get data from firebase and show it in dynamic card
Sort list alphabetically
Sorting firebase list
How to sort a list according to ID
How to Create Procedure for Most Current Data
Firebase List value
How can i get data from multi tag
How to create a list in ascending order
[FREE] Custom List View - An Extension for making Image and text list view with a lot of customization
Private Chat - A private chat app between two users
Alternating order of adding items from two lists in one list
Sort Multiple list
Hello Koders Sort list not work for me please help
Firebase data capture - alphabetically
Need Guide - About sort 2 lists
Filtering list from the smallest number to the largest number
Firebase value sort
[FREE v2] LeaderBoard Extension - Sort Users Score!
How to edit text in list
Correct number order in dictionary
switching from mit app inventor to kodular but its error
ListUtils error
Value/index error of list in Firebase
Star rating system
Airtable, show records in reverse order
I want is to sort by clicks
Problem in listutils extension
How to select the biggest number?
Error when reversing the list
Error when reversing the list
Make 2 list from 2 firebase project bucket
Error when trying to download video from firebase
Sorting multiple lists with the same order
Data do not come in order : List View
ListUtils is not working?
How to compare two dictionaries?
Index of Available Extensions

Wow nice one :+1:

Btw, Itā€™s like this Extension builder should represent their extensions :ok_hand:

/Boban

9 Likes

Thanks for this very useful extension:grinning:. In this extension sorting order is available in ascending and better if you implement also in descending order.

5 Likes

@7StarMedia The list utils extension by appybuilder also does support descending shorting.

2 Likes

I didnā€™t add sorting option because you can reverse sorted list then you will have descending sorting. :wink:

Maybe I can add sorting option, but this will only increase extension size since you can already select the sorting option.

Can you add sort option for list in list structure?

Liste iƧinde liste tipi iƧin destek ekleyebilirmisin? Mesela

Liste item1(isim1,isim2,isim3)
item2 (puan1,puan2,puan3)
item3(ekstrabilgi1,e2,e3)

gibi bir listeyi belli bir item e gƶre sıralasın mesela en yĆ¼ksek puana sahip olan puan2 ise isim2 ve e2 yi birinci eleman olarak geri dƶndĆ¼rsĆ¼n gibi.

1 Like

Gƶz atmam lazım. Aslında belki bunu mantık ve bloklarla yapabilirsin ancak tam emin değilim. :sweat_smile:


I need to take a look at it. Maybe actually you can do with logic and blocks, but Iā€™m not sure. :sweat_smile:

I already do it with blocks but if i can do it with extension its make easier.

Bloklarla yaptım lakin eklenti olması daha Ƨok işime gelir :slight_smile:

2 Likes

Thanks again for this extension, I have got the solution, check blocks:

check this video if you want to learn step by step, but this is in Hindi Voice
https://www.youtube.com/watch?v=wyIdKCDrPeU

5 Likes

Thanks, :grin: (for like and for video) yeah as I said you can revert sorting with ā€œReverseā€ block.

Also you donā€™t need to create new variable for that. You can use Reverse block with Sort directly. Just connect purple block with purple block.

4 Likes

link not work for me ā€¦ :frowning:

Thanks for reporting! I fixed it. For preventing the upcoming community download errors, I hosted the file on my website. (Donā€™t worry, it is a direct download link too :wink:)

1 Like

11 posts were split to a new topic: How to mix list items randomly?

Iā€™m getting an odd issue. Iā€™m sorting a list of names alphabetically using the SimpleSort method and names that have been entered without capitalization get sorted to the bottom of the list. Is there a way to sort it without taking capitalization into account?

As I sort items with Javaā€™s own Sort method, it is case sensitive. I can add a method for that when Kodular IDE becomes online again.

You can lowercase your all list items as a workaround.

1 Like

I added the TextBoxTools extension to set the box to capitalized words so that it should result in the names being formatted correctly. Hopefully, that solves the issue unless my users intentionally screw it up. Which, to be realistic, they probably will.

1 Like

nice extention

Fantastic extension. I like it. :slight_smile:

1 Like

Hi. How to sort

  1. Banana
  2. Water Melon
  3. Apple
  4. Custard Apple

to

  1. Banana
  2. Custard Apple
  3. Apple
  4. Water Melon

Up to 9 I seems it is possible, But if number increases to double digit or more
the result is not as expected.

I tried for 21 Numbers in this way. The result is as following.

The result is coming like this
9. xxxx
8. xxxx
7. xxxx
6. xxxx
5. xxxx
4. xxxx
3. xxxx
21. xxxx
20. xxxx
2. xxxx
19. xxxx
18. xxxx
17. xxxx
16. xxxx
15. xxxx
14. xxxx
13. xxxx
12. xxxx
11. xxxx
10. xxxx

  1. xxxx

Try to use bubble sort method of the extension @indianplans

2 Likes