mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 12:38:00 +01:00
rename photoactivity to viewpageractivity
This commit is contained in:
parent
0c56113037
commit
8af17a8c44
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue