Skip to content

Commit 542663d

Browse files
committed
Merge master to restructuring
2 parents 2aa351d + 0a93677 commit 542663d

23 files changed

+256
-283
lines changed

concept_lessons/_android_activity.html.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,3 @@ Now once you saw onRestart, just press the back button, this will exit your appl
129129

130130
Summarizing the chapter, you understood why an Activity Lifecycle exists, what is its importance and what are the different Lifecycle states which an activity goes through.
131131

132-
<br/>
133-
<div>
134-
Great ! Now that you have learned about Activities, you can proceed to attempt Codelearn's Twitter App Tutorial
135-
</div>
136-
<br/>
137-
<div>
138-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "activitybtn", :class => "btn btn-small btn-danger" do %>
139-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
140-
<% end %>
141-
</div>
142-
143-
144-
<script type="text/javascript">
145-
mixpanel.track_links("#activitybtn", "activityconceptlsn");
146-
mixpanel.track("activityConceptLesson");
147-
</script>

concept_lessons/_android_hello_world.html.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -293,19 +293,3 @@ DDMS also comes with a nice tool of emulator control, this option lets you contr
293293
* Mock GPS location to test your application if it is using GPS
294294

295295
In this chapter, we have learned how to create hello world application and how to launch the same using emulator. Also we saw how to create a virtual device. We also got to learn about the android project folder structure and had a glimpse of the tool to assist us in the faster development.
296-
297-
<br/>
298-
<div>
299-
Great ! Now that you have completed this chapter, you can proceed to attempt Codelearn's Twitter App Tutorial
300-
</div>
301-
<br/>
302-
<div>
303-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "helloworldbtn", :class => "btn btn-small btn-danger" do %>
304-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
305-
<% end %>
306-
</div>
307-
308-
<script type="text/javascript">
309-
mixpanel.track_links("#helloworldbtn", "helloworldconceptlsn");
310-
mixpanel.track("helloWorldConceptLesson");
311-
</script>

concept_lessons/_android_intent.html.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,3 @@ Similar to opening webpage we have shareData method in which you can see how we
154154

155155
In this chapter, we have seen how we can use android intent to communicate between different activities or to pass data. Also, we now know how to use Intents for opening other applications from our app.
156156

157-
<br/>
158-
<div>
159-
Great ! Now that you have know about intents, you can proceed to attempt Codelearn's Twitter App Tutorial
160-
</div>
161-
<br/>
162-
<div>
163-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "intentbtn", :class => "btn btn-small btn-danger" do %>
164-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
165-
<% end %>
166-
</div>
167-
168-
<script type="text/javascript">
169-
mixpanel.track_links("#intentbtn", "intentconceptlsn");
170-
mixpanel.track("intentsConceptLesson");
171-
</script>

concept_lessons/_android_introduction.html.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -220,20 +220,3 @@ Typically you never access a database directly. Instead Twitter app may be using
220220
<%= image_tag "android-introduction/notifications.png" %>
221221
</div>
222222
</div>
223-
<br/>
224-
<div>
225-
Great ! Now that you have completed this chapter, you can proceed to attempt Codelearn's Twitter App Tutorial
226-
</div>
227-
<br/>
228-
<div>
229-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "introbtn", :class => "btn btn-small btn-danger" do %>
230-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
231-
<% end %>
232-
</div>
233-
234-
235-
236-
<script type="text/javascript">
237-
mixpanel.track_links("#introbtn", "introconceptlsn");
238-
mixpanel.track("introductionConceptLesson");
239-
</script>

concept_lessons/_android_layout.html.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -366,21 +366,3 @@ You can specify width and height with exact measurements, though you probably wo
366366
* match_parent (referred as fill_parent in API Level 8 and lower) tells your view to become as big as its parent view group will allow.
367367

368368
In general, specifying a layout width and height using absolute units such as pixels is not recommended. Instead, using relative measurements such as density-independent pixel units (dp), wrap_content, or fill_parent, is a better approach, because it helps ensure that your application will display properly across a variety of device screen sizes.
369-
370-
<br/>
371-
<div>
372-
Great ! Now that you know about Layouts, you can proceed to attempt Codelearn's Twitter App Tutorial
373-
</div>
374-
<br/>
375-
<div>
376-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "layoutbtn", :class => "btn btn-small btn-danger" do %>
377-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
378-
<% end %>
379-
</div>
380-
381-
382-
383-
<script type="text/javascript">
384-
mixpanel.track_links("#layoutbtn", "layoutconceptlsn");
385-
mixpanel.track("layoutsConceptLesson");
386-
</script>

concept_lessons/_android_listview.html.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -493,19 +493,3 @@ You can view the ListActivity example in the sample project that you downloaded.
493493
>Watchout: ListActivity works well if you have only single ListView. In case you have more than one Android listview, you need to put extra code for the other ListView to work.
494494
495495
You can download the sample app from [here](https://github.com/pranayairan/Code-Learn-Android-Example/tree/master/CodeLearnListExample)
496-
<div>
497-
Great ! Now that you know about ListView, It's time to see it in Action by trying our App Tutorial
498-
</div>
499-
<br/>
500-
<div>
501-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "listviewbtn", :class => "btn btn-small btn-danger" do %>
502-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
503-
<% end %>
504-
</div>
505-
506-
507-
508-
<script type="text/javascript">
509-
mixpanel.track_links("#listviewbtn", "listviewconceptlsn");
510-
mixpanel.track("listViewConceptLesson");
511-
</script>

concept_lessons/_android_log.html.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,4 @@ The save button next to the log level selection button lets you save the logs in
123123

124124
You can launch LogCat from command line with `adb` command or through a remote adb shell. You should probably head over to [offical Android docs on Logcat](http://developer.android.com/tools/debugging/debugging-log.html#startingLogcat) for this.
125125

126-
<br/>
127-
<div>
128-
Great ! Now that you have completed this chapter, you can proceed to attempt Codelearn's Twitter App Tutorial
129-
</div>
130-
<br/>
131-
<div>
132-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "loggingbtn", :class => "btn btn-small btn-danger" do %>
133-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
134-
<% end %>
135-
</div>
136-
137-
138126

139-
<script type="text/javascript">
140-
mixpanel.track_links("#loggingbtn", "loggingconceptlsn");
141-
mixpanel.track("loggingConceptLesson");
142-
</script>

concept_lessons/_android_setup.html.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,3 @@ Now that you have your Android IDE up and running, follow the video integrated a
9797
Great then ! You can proceed to the next chapter for creating your first hello world application !
9898

9999
> Caution : For Windows 8 , the installation instruction doesn't change much, but sometimes you might encounter some problem in correctly running the ADT. This is mostly due to incorrect installation of the JDK, make sure you install the correct version of JDK by choose the correct version (32-bit or 64 bit).
100-
101-
<br/>
102-
<div>
103-
Great ! Now that you have completed this chapter, you can proceed to attempt Codelearn's Twitter App Tutorial
104-
</div>
105-
<br/>
106-
<div>
107-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "setupbtn", :class => "btn btn-small btn-danger" do %>
108-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
109-
<% end %>
110-
</div>
111-
112-
113-
114-
<script type="text/javascript">
115-
mixpanel.track_links("#setupbtn", "setupbtnconceptlsn");
116-
mixpanel.track("setupConceptLesson");
117-
</script>

concept_lessons/_android_views.html.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -633,20 +633,3 @@ This is how our complete scroll view will look
633633
</ScrollView>
634634

635635
Android has a lot of UI elements which are designed for specific purposes, in this chapter we tried to cover some of the most used UI elements. If you want to read more about other UI controls, you can go to [this link](http://developer.android.com/guide/topics/ui/index.html)
636-
637-
<br/>
638-
<div>
639-
Great ! Now that you have completed this chapter, you can proceed to attempt Codelearn's Twitter App Tutorial
640-
</div>
641-
<br/>
642-
<div>
643-
<%= link_to app_tutorial_get_started_path("twitter"), :id => "widgetviewsbtn", :class => "btn btn-small btn-danger" do %>
644-
<h6>Learn to build a Twitter app<br/><small style="font-size:small; color:inherit"></small></h6>
645-
<% end %>
646-
</div>
647-
648-
649-
<script type="text/javascript">
650-
mixpanel.track_links("#widgetviewsbtn", "widgetsviewconceptlsn");
651-
mixpanel.track("widgetsViewsConceptLesson");
652-
</script>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Implementing Login Button Click Listener
2+
3+
If you have followed our Twitter App tutorial so far, you have built a login screen with some basic Layouts & View elements. You have added a login button but it does nothing.
4+
5+
We have created this module specifically for introducing **Click Listener** . As an Android developer, this is the first time you will be dealing with a *callback code snippet* which gets executed when a button is clicked.

0 commit comments

Comments
 (0)