Skip to content

Commit

Permalink
use proper camel case newslider -> newSlider
Browse files Browse the repository at this point in the history
  • Loading branch information
Modo Labs committed Apr 3, 2012
1 parent 657cca4 commit 84d5ba9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions res/layout/new_slider.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/newslider_ll_top"
android:id="@+id/newSlider_ll_top"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<edu.mit.mitmobile2.SliderView
android:id="@+id/newsliderMainContent"
android:id="@+id/newSliderMainContent"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />

<edu.mit.mitmobile2.FullScreenLoader
android:visibility="gone"
android:id="@+id/newsliderActivityLoader"
android:id="@+id/newSliderActivityLoader"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />

Expand Down
6 changes: 3 additions & 3 deletions src/edu/mit/mitmobile2/SliderNewModuleActivity.java
Expand Up @@ -225,22 +225,22 @@ protected void setOnPositionChangedListener(SliderView.OnPositionChangedListener
}

protected void showLoading(String title) {
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newsliderActivityLoader);
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newSliderActivityLoader);
loader.setVisibility(View.VISIBLE);
loader.showLoading();
mSliderView.setVisibility(View.GONE);
// mSliderTitleBar.setTitle(title);
}

protected void showLoadingError() {
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newsliderActivityLoader);
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newSliderActivityLoader);
loader.setVisibility(View.VISIBLE);
loader.showError();
mSliderView.setVisibility(View.GONE);
}

protected void showLoadingCompleted() {
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newsliderActivityLoader);
FullScreenLoader loader = (FullScreenLoader) findViewById(R.id.newSliderActivityLoader);
loader.setVisibility(View.GONE);
mSliderView.setVisibility(View.VISIBLE);
}
Expand Down

0 comments on commit 84d5ba9

Please sign in to comment.