WearableListView


 

  1. WearableListView
  2. AnimatedListView
  3. CustomListAdapter

 

1. WearableListView

Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, select Wear Module(Mobile Module is Optional for this tutorial), create “Blank Activity” and click “Finish” button.

Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open src -> package -> MainActivity.java and add following code :

Step 4 : Open src -> package -> Create new class SimpleListAdapter.java and add following code :

Step 5 : Open AndroidManifest.xml and add following code :

Step 6 : Open build.gradle (Module: app) file and add following code :

ScreenShot:

simplelist simplelist2

Download SourceCode

 

2. AnimatedListView

Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, select Wear Module(Mobile Module is Optional for this tutorial), create “Blank Activity” and click “Finish” button.

Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open res -> layout -> Create new xml, list_item.xml and add following code :

Step 4 : Open src -> package -> MainActivity.java and add following code :

Step 5 : Open src -> package -> Create new class AnimatedListAdapter.java and add following code :

Step 6 : Open src -> package -> Create new class .java and add following code :

Step 7 : Open AndroidManifest.xml and add following code :

Step 8 : Open build.gradle (Module: app) file and add following code :

ScreenShot:

animatedlist animatedlist2

Download SourceCode

 

3. CustomListAdapter

Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, select Wear Module(Mobile Module is Optional for this tutorial), create “Blank Activity” and click “Finish” button.

Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open res -> layout -> Create new xml, .xml and add following code :

Step 4 : Open src -> package -> MainActivity.java and add following code :

Step 5 : Open src -> package -> Create new class CustomListAdapter.java and add following code :

Step 6 : Open src -> package -> Create new class WearableListItemLayout.java and add following code :

Step 7 : Open src -> package -> Create new class SettingsItems.java and add following code :

Step 8 : Open AndroidManifest.xml and add following code :

Step 9 : Open build.gradle (Module: app) file and add following code :

ScreenShot:

customlistadapter customlistadapter2

Download SourceCode