rename photoactivity to viewpageractivity

This commit is contained in:
tibbi 2016-02-21 15:25:33 +01:00
parent 0c56113037
commit 8af17a8c44
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
android:screenOrientation="portrait"/> android:screenOrientation="portrait"/>
<activity <activity
android:name=".activities.PhotoActivity" android:name=".activities.ViewPagerActivity"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/> android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
</application> </application>

View File

@ -52,7 +52,7 @@ public class PhotosActivity extends AppCompatActivity implements AdapterView.OnI
@Override @Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
final Intent intent = new Intent(this, PhotoActivity.class); final Intent intent = new Intent(this, ViewPagerActivity.class);
intent.putExtra(Constants.PHOTO, photos.get(position)); intent.putExtra(Constants.PHOTO, photos.get(position));
startActivity(intent); startActivity(intent);
} }

View File

@ -15,7 +15,7 @@ import gallery.simplemobiletools.com.Constants;
import gallery.simplemobiletools.com.R; import gallery.simplemobiletools.com.R;
import gallery.simplemobiletools.com.adapters.MyPagerAdapter; import gallery.simplemobiletools.com.adapters.MyPagerAdapter;
public class PhotoActivity extends AppCompatActivity { public class ViewPagerActivity extends AppCompatActivity {
private int pos; private int pos;
@Override @Override