Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bd331d8
6 add or remove items in any column (#19)
ZanderCowboy Jan 23, 2024
03b226c
merge branch 'main' into develop
ZanderCowboy Jan 23, 2024
1cd3a04
small code changes
ZanderCowboy Jan 23, 2024
89f66ad
22 add and remove entries in tabs (#23)
ZanderCowboy Jan 23, 2024
cb9c1ff
added Draggable
ZanderCowboy Jan 24, 2024
e805314
added updateTabs method to tabs_repository
ZanderCowboy Jan 24, 2024
e7cee35
added onReorderTabs event to HomeBloc
ZanderCowboy Jan 24, 2024
4b285c5
added updateTabs to tabs_list database
ZanderCowboy Jan 24, 2024
3b5afda
added ReorderableListView to HomePage for tabs
ZanderCowboy Jan 24, 2024
6a9d084
Bump pubspec version to '0.0.2+68'
ZanderCowboy Feb 10, 2024
a672f07
Update README.md (#79)
ZanderCowboy Feb 16, 2024
b35fea1
Bump pubspec version to '0.0.2+71'
ZanderCowboy Feb 16, 2024
b974289
Add and Implement DB (#75)
ZanderCowboy Feb 16, 2024
a23c495
Bump pubspec version to '0.0.2+73'
ZanderCowboy Feb 16, 2024
3b7c1dc
20 restructure files and folders (#83)
ZanderCowboy Feb 17, 2024
346d8ec
Bump pubspec version to '0.0.2+75'
ZanderCowboy Feb 17, 2024
16301ca
Bumped Flutter Version (#84)
ZanderCowboy Feb 19, 2024
0c4c307
Bump pubspec version to '0.0.2+77'
ZanderCowboy Feb 19, 2024
e236c0c
updated flutter version in Dockerfile to 3.19.0 (#90)
ZanderCowboy Feb 19, 2024
5d4ad1e
add tmp to gitignore
ZanderCowboy Feb 19, 2024
bb0bd9a
Merge branch 'develop' of github.com:ZanderCowboy/multichoice into de…
ZanderCowboy Feb 19, 2024
33f4dcb
Bump pubspec version to '0.0.2+79'
ZanderCowboy Feb 19, 2024
e417e5e
26 implement dto and automappr (#89)
ZanderCowboy Feb 19, 2024
9d5da60
Bump pubspec version to '0.0.2+82'
ZanderCowboy Feb 19, 2024
ac6e26b
88 remove generated code (#91)
ZanderCowboy Feb 19, 2024
0ffc37d
Bump pubspec version to '0.0.2+85'
ZanderCowboy Feb 19, 2024
cff18d7
Merge branch 'develop' into 7-implement-draggable
ZanderCowboy Feb 19, 2024
01b7c71
wip add updateTabs to repository
ZanderCowboy Feb 19, 2024
107ed9f
fix linting issues
ZanderCowboy Feb 19, 2024
7a3bfec
Merge branch 'develop' into 7-implement-draggable
ZanderCowboy Apr 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package co.za.zanderkotze.multichoice

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity()
2 changes: 2 additions & 0 deletions apps/multichoice/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ android {
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release
ndk {
debugSymbolLevel 'FULL'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,40 @@ class TabsRepository implements ITabsRepository {
}
}
}

// List<Tabs> updateTabs(int oldIndex, int newIndex) {
// final List<Tabs> tempTabs = tabsData.keys.toList();
// final int tempLength = tempTabs.length;
// final List<List<Entry>> tempListEntry = tabsData.values.toList();

// final Tabs movedTab = tempTabs.removeAt(oldIndex);
// final List<Entry> movedListEntry = tempListEntry.removeAt(oldIndex);

// if (oldIndex < newIndex && newIndex != tempLength) {
// if (newIndex - oldIndex == 2) {
// tempTabs.insert(newIndex - 1, movedTab);
// tempListEntry.insert(newIndex - 1, movedListEntry);
// } else {
// tempTabs.insert(newIndex - 1, movedTab);
// tempListEntry.insert(newIndex - 1, movedListEntry);
// }
// } else if (oldIndex > newIndex) {
// tempTabs.insert(newIndex, movedTab);
// tempListEntry.insert(newIndex, movedListEntry);
// } else {
// tempTabs.add(movedTab);
// tempListEntry.add(movedListEntry);
// }

// tabsData.clear();
// if (tempTabs.length == tempListEntry.length) {
// for (var i = 0; i < tempTabs.length; i++) {
// final tab = tempTabs[i];
// final listEntry = tempListEntry[i];

// tabsData[tab] = listEntry;
// }
// }

// return tabsData.keys.toList();
// }
Loading