Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BigUI
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baijinqiu
BigUI
Commits
8e466b5b
Commit
8e466b5b
authored
Jun 23, 2019
by
Jinqiu Bai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error happend
parent
2fab7818
Show whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
30 additions
and
4 deletions
+30
-4
.idea/caches/gradle_models.ser
+0
-0
app/build.gradle
+0
-0
app/src/main/AndroidManifest.xml
+3
-0
app/src/main/java/adapters/AdapterBottom.java
+0
-0
app/src/main/java/adapters/AdapterTop.java
+0
-0
app/src/main/java/com/example/administrator/bigui/ActivityShowContent.java
+0
-0
app/src/main/java/com/example/administrator/bigui/ActivityTest.java
+0
-0
app/src/main/java/com/example/administrator/bigui/MainActivity.java
+19
-4
app/src/main/java/configs/Configs.java
+0
-0
app/src/main/java/gsonbeans/GsonLeaders.java
+0
-0
app/src/main/java/gsonbeans/GsonNews.java
+0
-0
app/src/main/java/gsonbeans/GsonWeather.java
+0
-0
app/src/main/java/gsonbeans/Gson_schoolNews.java
+0
-0
app/src/main/java/gsonbeans/Gson_schoolNews_content.java
+0
-0
app/src/main/java/gsonbeans/Gson_schoolNotification_content.java
+0
-0
app/src/main/java/gsonbeans/Gson_schoolNotifications.java
+0
-0
app/src/main/java/gsonbeans/Gsons.java
+0
-0
app/src/main/java/httputils/HttpUtils.java
+0
-0
app/src/main/java/interfaces/IHandlerListerner.java
+2
-0
app/src/main/java/myhandler/Myhandler.java
+2
-0
app/src/main/java/tasks/TaskRequest.java
+0
-0
app/src/main/java/utils/Utils.java
+2
-0
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
+0
-0
app/src/main/res/drawable/ic_circle.xml
+2
-0
app/src/main/res/drawable/ic_launcher_background.xml
+0
-0
app/src/main/res/drawable/ic_logo_1.xml
+0
-0
app/src/main/res/drawable/ic_logo_2.xml
+0
-0
app/src/main/res/drawable/ic_sclool_huawen.xml
+0
-0
app/src/main/res/drawable/ic_title_hw_l.xml
+0
-0
app/src/main/res/drawable/ic_title_hw_r.xml
+0
-0
app/src/main/res/drawable/selector_point.xml
+0
-0
app/src/main/res/drawable/selector_xuxian.xml
+0
-0
app/src/main/res/layout/activity_main.xml
+0
-0
app/src/main/res/layout/activity_show_content.xml
+0
-0
app/src/main/res/layout/activity_test.xml
+0
-0
app/src/main/res/layout/item_news_notice.xml
+0
-0
app/src/main/res/layout/item_slogan.xml
+0
-0
app/src/main/res/layout/test.xml
+0
-0
app/src/main/res/values/colors.xml
+0
-0
app/src/main/res/values/strings.xml
+0
-0
app/src/main/res/values/styles.xml
+0
-0
No files found.
.idea/caches/gradle_models.ser
View file @
8e466b5b
No preview for this file type
app/build.gradle
View file @
8e466b5b
app/src/main/AndroidManifest.xml
View file @
8e466b5b
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
<action
android:name=
"android.intent.action.MAIN"
/>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.HOME"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<activity
android:name=
".ActivityTest"
>
<activity
android:name=
".ActivityTest"
>
...
...
app/src/main/java/adapters/AdapterBottom.java
View file @
8e466b5b
app/src/main/java/adapters/AdapterTop.java
View file @
8e466b5b
app/src/main/java/com/example/administrator/bigui/ActivityShowContent.java
View file @
8e466b5b
app/src/main/java/com/example/administrator/bigui/ActivityTest.java
View file @
8e466b5b
app/src/main/java/com/example/administrator/bigui/MainActivity.java
View file @
8e466b5b
...
@@ -11,6 +11,7 @@ import android.support.v7.widget.LinearLayoutManager;
...
@@ -11,6 +11,7 @@ import android.support.v7.widget.LinearLayoutManager;
import
android.support.v7.widget.RecyclerView
;
import
android.support.v7.widget.RecyclerView
;
import
android.util.Log
;
import
android.util.Log
;
import
android.view.Gravity
;
import
android.view.Gravity
;
import
android.view.KeyEvent
;
import
android.view.LayoutInflater
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.ViewGroup
;
...
@@ -191,7 +192,7 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
...
@@ -191,7 +192,7 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
xPager
.
addOnPageChangeListener
(
new
ViewPager
.
OnPageChangeListener
()
{
xPager
.
addOnPageChangeListener
(
new
ViewPager
.
OnPageChangeListener
()
{
@Override
@Override
public
void
onPageScrolled
(
int
i
,
float
v
,
int
i1
)
{
public
void
onPageScrolled
(
int
i
,
float
v
,
int
i1
)
{
Log
.
i
(
TAG
,
"onPageScrolled: "
+
i
+
" "
+
v
+
" "
+
i1
);
//
Log.i(TAG, "onPageScrolled: " + i + " " + v + " " + i1);
// if (i == 0) {
// if (i == 0) {
// xPager.setCurrentItem(7);
// xPager.setCurrentItem(7);
// }
// }
...
@@ -211,12 +212,12 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
...
@@ -211,12 +212,12 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
@Override
@Override
public
void
onPageSelected
(
int
i
)
{
public
void
onPageSelected
(
int
i
)
{
Log
.
i
(
TAG
,
"onPageSelected: "
);
//
Log.i(TAG, "onPageSelected: ");
}
}
@Override
@Override
public
void
onPageScrollStateChanged
(
int
i
)
{
public
void
onPageScrollStateChanged
(
int
i
)
{
Log
.
i
(
TAG
,
"onPageScrollStateChanged: "
);
//
Log.i(TAG, "onPageScrollStateChanged: ");
}
}
});
});
xPager
.
setScrollDuration
(
700
);
xPager
.
setScrollDuration
(
700
);
...
@@ -227,7 +228,7 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
...
@@ -227,7 +228,7 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
public
void
run
()
{
public
void
run
()
{
while
(
true
)
{
while
(
true
)
{
try
{
try
{
Thread
.
sleep
(
5
000
);
Thread
.
sleep
(
10
000
);
xPager
.
postDelayed
(
new
Runnable
()
{
xPager
.
postDelayed
(
new
Runnable
()
{
@Override
@Override
public
void
run
()
{
public
void
run
()
{
...
@@ -462,4 +463,18 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
...
@@ -462,4 +463,18 @@ public class MainActivity extends AppCompatActivity implements IHandlerListerner
}
}
@Override
public
boolean
onKeyDown
(
int
keyCode
,
KeyEvent
event
)
{
if
(
keyCode
==
event
.
KEYCODE_HOME
)
{
return
true
;
}
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
return
true
;
}
if
(
keyCode
==
KeyEvent
.
KEYCODE_MENU
){
return
true
;
}
return
super
.
onKeyDown
(
keyCode
,
event
);
}
}
}
app/src/main/java/configs/Configs.java
View file @
8e466b5b
app/src/main/java/gsonbeans/GsonLeaders.java
View file @
8e466b5b
app/src/main/java/gsonbeans/GsonNews.java
View file @
8e466b5b
app/src/main/java/gsonbeans/GsonWeather.java
View file @
8e466b5b
app/src/main/java/gsonbeans/Gson_schoolNews.java
View file @
8e466b5b
app/src/main/java/gsonbeans/Gson_schoolNews_content.java
View file @
8e466b5b
app/src/main/java/gsonbeans/Gson_schoolNotification_content.java
View file @
8e466b5b
app/src/main/java/gsonbeans/Gson_schoolNotifications.java
View file @
8e466b5b
app/src/main/java/gsonbeans/Gsons.java
View file @
8e466b5b
app/src/main/java/httputils/HttpUtils.java
View file @
8e466b5b
app/src/main/java/interfaces/IHandlerListerner.java
View file @
8e466b5b
...
@@ -5,3 +5,4 @@ import android.os.Message;
...
@@ -5,3 +5,4 @@ import android.os.Message;
public
interface
IHandlerListerner
{
public
interface
IHandlerListerner
{
void
handleMessage
(
Message
msg
);
void
handleMessage
(
Message
msg
);
}
}
\ No newline at end of file
app/src/main/java/myhandler/Myhandler.java
View file @
8e466b5b
...
@@ -22,3 +22,4 @@ public class Myhandler {
...
@@ -22,3 +22,4 @@ public class Myhandler {
mListener
=
listener
;
mListener
=
listener
;
}
}
}
}
\ No newline at end of file
app/src/main/java/tasks/TaskRequest.java
View file @
8e466b5b
app/src/main/java/utils/Utils.java
View file @
8e466b5b
...
@@ -15,3 +15,4 @@ public class Utils {
...
@@ -15,3 +15,4 @@ public class Utils {
}
}
\ No newline at end of file
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_circle.xml
View file @
8e466b5b
...
@@ -5,3 +5,4 @@
...
@@ -5,3 +5,4 @@
android:pathData=
"M7.75,8.25m-6.75,0a6.75,6.75 0,1 1,13.5 0a6.75,6.75 0,1 1,-13.5 0"
android:pathData=
"M7.75,8.25m-6.75,0a6.75,6.75 0,1 1,13.5 0a6.75,6.75 0,1 1,-13.5 0"
android:strokeColor=
"#00FFFF"
android:strokeWidth=
"1"
/>
android:strokeColor=
"#00FFFF"
android:strokeWidth=
"1"
/>
</vector>
</vector>
\ No newline at end of file
app/src/main/res/drawable/ic_launcher_background.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_logo_1.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_logo_2.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_sclool_huawen.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_title_hw_l.xml
View file @
8e466b5b
app/src/main/res/drawable/ic_title_hw_r.xml
View file @
8e466b5b
app/src/main/res/drawable/selector_point.xml
View file @
8e466b5b
app/src/main/res/drawable/selector_xuxian.xml
View file @
8e466b5b
app/src/main/res/layout/activity_main.xml
View file @
8e466b5b
app/src/main/res/layout/activity_show_content.xml
View file @
8e466b5b
app/src/main/res/layout/activity_test.xml
View file @
8e466b5b
app/src/main/res/layout/item_news_notice.xml
View file @
8e466b5b
app/src/main/res/layout/item_slogan.xml
View file @
8e466b5b
app/src/main/res/layout/test.xml
View file @
8e466b5b
app/src/main/res/values/colors.xml
View file @
8e466b5b
app/src/main/res/values/strings.xml
View file @
8e466b5b
app/src/main/res/values/styles.xml
View file @
8e466b5b
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment