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"/>
<activity
android:name=".activities.PhotoActivity"
android:name=".activities.ViewPagerActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
</application>

View file

@ -52,7 +52,7 @@ public class PhotosActivity extends AppCompatActivity implements AdapterView.OnI
@Override
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));
startActivity(intent);
}

View file

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