Skip to content

Commit e7c91eb

Browse files
committed
Add Android and iOS class docs
1 parent b53dc4b commit e7c91eb

24 files changed

+48
-0
lines changed

libs/pythonnative/pythonnative/activity_indicator_view.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def stop_animating(self) -> None:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/android/widget/ProgressBar
2728
# ========================================
2829

2930
from java import jclass
@@ -47,6 +48,7 @@ def stop_animating(self) -> None:
4748
else:
4849
# ========================================
4950
# iOS class
51+
# https://developer.apple.com/documentation/uikit/uiactivityindicatorview
5052
# ========================================
5153

5254
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/button.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def set_on_click(self, callback: Callable[[], None]) -> None:
2929
if IS_ANDROID:
3030
# ========================================
3131
# Android class
32+
# https://developer.android.com/reference/android/widget/Button
3233
# ========================================
3334

3435
from java import dynamic_proxy, jclass
@@ -63,6 +64,7 @@ def onClick(self, view):
6364
else:
6465
# ========================================
6566
# iOS class
67+
# https://developer.apple.com/documentation/uikit/uibutton
6668
# ========================================
6769

6870
from rubicon.objc import ObjCClass, SEL

libs/pythonnative/pythonnative/date_picker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_date(self) -> tuple:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/android/widget/DatePicker
2728
# ========================================
2829

2930
from java import jclass
@@ -49,6 +50,7 @@ def get_date(self) -> tuple:
4950
else:
5051
# ========================================
5152
# iOS class
53+
# https://developer.apple.com/documentation/uikit/uidatepicker
5254
# ========================================
5355

5456
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/image_view.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_image(self) -> str:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/android/widget/ImageView
2728
# ========================================
2829

2930
from java import jclass
@@ -51,6 +52,7 @@ def get_image(self) -> str:
5152
else:
5253
# ========================================
5354
# iOS class
55+
# https://developer.apple.com/documentation/uikit/uiimageview
5456
# ========================================
5557

5658
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/label.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_text(self) -> str:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/android/widget/TextView
2728
# ========================================
2829

2930
from java import jclass
@@ -44,6 +45,7 @@ def get_text(self) -> str:
4445
else:
4546
# ========================================
4647
# iOS class
48+
# https://developer.apple.com/documentation/uikit/uilabel
4749
# ========================================
4850

4951
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/list_view.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_data(self) -> list:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/android/widget/ListView
2728
# ========================================
2829

2930
from java import jclass
@@ -49,6 +50,7 @@ def get_data(self) -> list:
4950
else:
5051
# ========================================
5152
# iOS class
53+
# https://developer.apple.com/documentation/uikit/uitableview
5254
# ========================================
5355

5456
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/material_activity_inidicator_view.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def stop_animating(self) -> None:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/com/google/android/material/progressindicator/CircularProgressIndicator
2728
# ========================================
2829

2930
from java import jclass
@@ -48,6 +49,7 @@ def stop_animating(self) -> None:
4849
else:
4950
# ========================================
5051
# iOS class
52+
# https://developer.apple.com/documentation/uikit/uiactivityindicatorview
5153
# ========================================
5254

5355
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/material_button.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_title(self) -> str:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/com/google/android/material/button/MaterialButton
2728
# ========================================
2829

2930
from java import jclass
@@ -46,6 +47,7 @@ def get_title(self) -> str:
4647
else:
4748
# ========================================
4849
# iOS class
50+
# https://developer.apple.com/documentation/uikit/uibutton
4951
# ========================================
5052

5153
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/material_date_picker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_date(self) -> tuple:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/com/google/android/material/datepicker/MaterialDatePicker
2728
# ========================================
2829

2930
from java import jclass
@@ -62,6 +63,7 @@ def get_date(self) -> tuple:
6263
else:
6364
# ========================================
6465
# iOS class
66+
# https://developer.apple.com/documentation/uikit/uidatepicker
6567
# ========================================
6668

6769
from rubicon.objc import ObjCClass

libs/pythonnative/pythonnative/material_progress_view.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def get_progress(self) -> float:
2424
if IS_ANDROID:
2525
# ========================================
2626
# Android class
27+
# https://developer.android.com/reference/com/google/android/material/progressindicator/LinearProgressIndicator
2728
# ========================================
2829

2930
from java import jclass
@@ -46,6 +47,7 @@ def get_progress(self) -> float:
4647
else:
4748
# ========================================
4849
# iOS class
50+
# https://developer.apple.com/documentation/uikit/uiprogressview
4951
# ========================================
5052

5153
from rubicon.objc import ObjCClass

0 commit comments

Comments
 (0)